From d092c5a3ce44b8224e36c9741c7048166b6a055a Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sat, 3 Nov 2012 15:16:52 -0700 Subject: [PATCH] Remove the ugly empty space on the left side of the smart playlist dialog on OS X --- src/smartplaylists/wizard.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/smartplaylists/wizard.cpp b/src/smartplaylists/wizard.cpp index 9f215077c..4167d634d 100644 --- a/src/smartplaylists/wizard.cpp +++ b/src/smartplaylists/wizard.cpp @@ -68,6 +68,11 @@ Wizard::Wizard(Application* app, LibraryBackend* library, QWidget* parent) setWindowTitle(tr("Smart playlist")); resize(788, 628); +#ifdef Q_OS_MAC + // MacStyle leaves an ugly empty space on the left side of the dialog. + setWizardStyle(QWizard::ClassicStyle); +#endif // Q_OS_MAC + // Type page type_page_->setTitle(tr("Playlist type")); type_page_->setSubTitle(tr("A smart playlist is a dynamic list of songs that come from your library. There are different types of smart playlist that offer different ways of selecting songs."));