From 53d778762e8a22f3e487aad6dfcec84514262a14 Mon Sep 17 00:00:00 2001 From: Pieter van der Kloet Date: Fri, 15 Jul 2011 15:04:06 +0200 Subject: [PATCH] Added dirty hack to get the combobox to work on Mac and GTK platforms --- apps/launcher/datafilespage.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/launcher/datafilespage.cpp b/apps/launcher/datafilespage.cpp index 545595ab87..d06523d2db 100644 --- a/apps/launcher/datafilespage.cpp +++ b/apps/launcher/datafilespage.cpp @@ -1,4 +1,5 @@ #include +#include #include #include @@ -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);