mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04: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,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…
x
Reference in New Issue
Block a user