Added dirty hack to get the combobox to work on Mac and GTK platforms

actorid
Pieter van der Kloet 14 years ago
parent 7cbed6c58a
commit 53d778762e

@ -1,4 +1,5 @@
#include <QtGui>
#include <QPlastiqueStyle>
#include <components/esm/esm_reader.hpp>
#include <components/files/path.hpp>
@ -92,9 +93,11 @@ 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);

Loading…
Cancel
Save