From 57a18d4a244f3f2b56d84591b4e7049b932d5a28 Mon Sep 17 00:00:00 2001 From: Pieter van der Kloet Date: Sat, 16 Jul 2011 15:40:40 +0200 Subject: [PATCH] Combobox hack should be applied to the play tab, not the data files tab. Fixed it. --- apps/launcher/datafilespage.cpp | 3 --- apps/launcher/playpage.cpp | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/launcher/datafilespage.cpp b/apps/launcher/datafilespage.cpp index d06523d2db..545595ab87 100644 --- a/apps/launcher/datafilespage.cpp +++ b/apps/launcher/datafilespage.cpp @@ -1,5 +1,4 @@ #include -#include #include #include @@ -93,11 +92,9 @@ 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); diff --git a/apps/launcher/playpage.cpp b/apps/launcher/playpage.cpp index 2ad62d7c82..cb993a8fa0 100644 --- a/apps/launcher/playpage.cpp +++ b/apps/launcher/playpage.cpp @@ -15,8 +15,10 @@ PlayPage::PlayPage(QWidget *parent) : QWidget(parent) QLabel *profileLabel = new QLabel(tr("Current Profile:"), playWidget); profileLabel->setObjectName("ProfileLabel"); + QPlastiqueStyle *style = new QPlastiqueStyle; mProfilesComboBox = new QComboBox(playWidget); mProfilesComboBox->setObjectName("ProfilesComboBox"); + mProfilesComboBox->setStyle(style); QGridLayout *playLayout = new QGridLayout(playWidget);