OS X: remove QPlastiqueStyle usage

openmw-37
Nikolay Kasyanov 9 years ago
parent 3ba546628d
commit 4dcb1a1b17

@ -2,20 +2,11 @@
#include <QListView> #include <QListView>
#ifdef Q_OS_MAC
#include <QPlastiqueStyle>
#endif
Launcher::PlayPage::PlayPage(QWidget *parent) : QWidget(parent) Launcher::PlayPage::PlayPage(QWidget *parent) : QWidget(parent)
{ {
setObjectName ("PlayPage"); setObjectName ("PlayPage");
setupUi(this); setupUi(this);
// Hacks to get the stylesheet look properly
#ifdef Q_OS_MAC
QPlastiqueStyle *style = new QPlastiqueStyle;
profilesComboBox->setStyle(style);
#endif
profilesComboBox->setView(new QListView()); profilesComboBox->setView(new QListView());
connect(profilesComboBox, SIGNAL(activated(int)), this, SIGNAL (signalProfileChanged(int))); connect(profilesComboBox, SIGNAL(activated(int)), this, SIGNAL (signalProfileChanged(int)));

Loading…
Cancel
Save