mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 03:15:32 +00:00
Combobox hack should be applied to the play tab, not the data files tab. Fixed it.
This commit is contained in:
parent
53d778762e
commit
57a18d4a24
2 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
|||
#include <QtGui>
|
||||
#include <QPlastiqueStyle>
|
||||
|
||||
#include <components/esm/esm_reader.hpp>
|
||||
#include <components/files/path.hpp>
|
||||
|
@ -93,11 +92,9 @@ DataFilesPage::DataFilesPage(QWidget *parent) : QWidget(parent)
|
|||
// Bottom part with profile options
|
||||
QLabel *profileLabel = new QLabel(tr("Current Profile: "), this);
|
||||
|
||||
QPlastiqueStyle *style = new QPlastiqueStyle;
|
||||
mProfilesComboBox = new ComboBox(this);
|
||||
mProfilesComboBox->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum));
|
||||
mProfilesComboBox->setInsertPolicy(QComboBox::InsertAtBottom);
|
||||
mProfilesComboBox->setStyle(style);
|
||||
|
||||
mProfileToolBar = new QToolBar(this);
|
||||
mProfileToolBar->setMovable(false);
|
||||
|
|
|
@ -15,8 +15,10 @@ PlayPage::PlayPage(QWidget *parent) : QWidget(parent)
|
|||
QLabel *profileLabel = new QLabel(tr("Current Profile:"), playWidget);
|
||||
profileLabel->setObjectName("ProfileLabel");
|
||||
|
||||
QPlastiqueStyle *style = new QPlastiqueStyle;
|
||||
mProfilesComboBox = new QComboBox(playWidget);
|
||||
mProfilesComboBox->setObjectName("ProfilesComboBox");
|
||||
mProfilesComboBox->setStyle(style);
|
||||
|
||||
QGridLayout *playLayout = new QGridLayout(playWidget);
|
||||
|
||||
|
|
Loading…
Reference in a new issue