mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 04:36:44 +00:00
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 <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>
|
||||||
|
@ -92,9 +93,11 @@ 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);
|
||||||
|
|
Loading…
Reference in a new issue