Combobox hack should be applied to the play tab, not the data files tab. Fixed it.

actorid
Pieter van der Kloet 14 years ago
parent 53d778762e
commit 57a18d4a24

@ -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…
Cancel
Save