mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-23 10:20:48 +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
@ -1,5 +1,4 @@
|
|||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
#include <QPlastiqueStyle>
|
|
||||||
|
|
||||||
#include <components/esm/esm_reader.hpp>
|
#include <components/esm/esm_reader.hpp>
|
||||||
#include <components/files/path.hpp>
|
#include <components/files/path.hpp>
|
||||||
@ -93,11 +92,9 @@ DataFilesPage::DataFilesPage(QWidget *parent) : QWidget(parent)
|
|||||||
// Bottom part with profile options
|
// Bottom part with profile options
|
||||||
QLabel *profileLabel = new QLabel(tr("Current Profile: "), this);
|
QLabel *profileLabel = new QLabel(tr("Current Profile: "), this);
|
||||||
|
|
||||||
QPlastiqueStyle *style = new QPlastiqueStyle;
|
|
||||||
mProfilesComboBox = new ComboBox(this);
|
mProfilesComboBox = new ComboBox(this);
|
||||||
mProfilesComboBox->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum));
|
mProfilesComboBox->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum));
|
||||||
mProfilesComboBox->setInsertPolicy(QComboBox::InsertAtBottom);
|
mProfilesComboBox->setInsertPolicy(QComboBox::InsertAtBottom);
|
||||||
mProfilesComboBox->setStyle(style);
|
|
||||||
|
|
||||||
mProfileToolBar = new QToolBar(this);
|
mProfileToolBar = new QToolBar(this);
|
||||||
mProfileToolBar->setMovable(false);
|
mProfileToolBar->setMovable(false);
|
||||||
|
@ -15,8 +15,10 @@ PlayPage::PlayPage(QWidget *parent) : QWidget(parent)
|
|||||||
QLabel *profileLabel = new QLabel(tr("Current Profile:"), playWidget);
|
QLabel *profileLabel = new QLabel(tr("Current Profile:"), playWidget);
|
||||||
profileLabel->setObjectName("ProfileLabel");
|
profileLabel->setObjectName("ProfileLabel");
|
||||||
|
|
||||||
|
QPlastiqueStyle *style = new QPlastiqueStyle;
|
||||||
mProfilesComboBox = new QComboBox(playWidget);
|
mProfilesComboBox = new QComboBox(playWidget);
|
||||||
mProfilesComboBox->setObjectName("ProfilesComboBox");
|
mProfilesComboBox->setObjectName("ProfilesComboBox");
|
||||||
|
mProfilesComboBox->setStyle(style);
|
||||||
|
|
||||||
QGridLayout *playLayout = new QGridLayout(playWidget);
|
QGridLayout *playLayout = new QGridLayout(playWidget);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user