VirtualBox

Changeset 94057 in vbox


Ignore:
Timestamp:
Mar 2, 2022 2:14:37 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899: Global preferences: Get rid of QIComboBox objects for Display page.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMaximumGuestScreenSizeEditor.cpp

    r93992 r94057  
    1717
    1818/* Qt includes: */
     19#include <QComboBox>
    1920#include <QGridLayout>
    2021#include <QHBoxLayout>
     
    2324
    2425/* GUI includes: */
    25 #include "QIComboBox.h"
    2626#include "UICommon.h"
    2727#include "UIConverter.h"
     
    146146    if (m_pComboPolicy)
    147147    {
    148         m_pComboPolicy->setToolTip(tr("Selects maximum guest screen size policy."));
    149148        for (int i = 0; i < m_pComboPolicy->count(); ++i)
    150149        {
     
    152151            m_pComboPolicy->setItemText(i, gpConverter->toString(enmType));
    153152        }
     153        m_pComboPolicy->setToolTip(tr("Selects maximum guest screen size policy."));
    154154    }
    155155}
     
    212212        }
    213213        /* Prepare policy combo: */
    214         m_pComboPolicy = new QIComboBox(this);
     214        m_pComboPolicy = new QComboBox(this);
    215215        if (m_pComboPolicy)
    216216        {
    217217            if (m_pLabelPolicy)
    218218                m_pLabelPolicy->setBuddy(m_pComboPolicy);
    219             connect(m_pComboPolicy, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated),
     219            connect(m_pComboPolicy, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated),
    220220                    this, &UIMaximumGuestScreenSizeEditor::sltHandleCurrentPolicyIndexChanged);
    221221
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMaximumGuestScreenSizeEditor.h

    r93992 r94057  
    3434class QLabel;
    3535class QSpinBox;
    36 class QIComboBox;
     36class QComboBox;
    3737
    3838
     
    118118    QLabel      *m_pLabelPolicy;
    119119    /** Holds the policy combo instance. */
    120     QIComboBox  *m_pComboPolicy;
     120    QComboBox   *m_pComboPolicy;
    121121    /** Holds the max width label instance. */
    122122    QLabel      *m_pLabelMaxWidth;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette