forked from mirror/openmw-tes3mp
Added dirty hack to get the combobox to work on Mac and GTK platforms
This commit is contained in:
parent
7cbed6c58a
commit
53d778762e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue