VirtualBox

Changeset 87721 in vbox


Ignore:
Timestamp:
Feb 11, 2021 9:44:37 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142766
Message:

FE/Qt: bugref:9532: Qt 5.15.2 migration revealed layout abusing in language editor class.

File:
1 edited

Legend:

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

    r86152 r87721  
    338338        m_pLabelSeparator = new QILabelSeparator(this);
    339339        if (m_pLabelSeparator)
    340             pLayoutMain->addWidget(m_pLabelSeparator, 0, 0);
     340            pLayoutMain->addWidget(m_pLabelSeparator);
    341341
    342342        /* Prepare tree-widget: */
     
    353353            m_pTreeWidget->setRootIsDecorated(false);
    354354
    355             pLayoutMain->addWidget(m_pTreeWidget, 1, 0);
     355            pLayoutMain->addWidget(m_pTreeWidget);
    356356        }
    357357
     
    363363            m_pLabelInfo->setMinimumHeight(QFontMetrics(m_pLabelInfo->font(), m_pLabelInfo).height() * 5);
    364364
    365             pLayoutMain->addWidget(m_pLabelInfo, 2, 0);
     365            pLayoutMain->addWidget(m_pLabelInfo);
    366366        }
    367367    }
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