From 42f1bef53f325ecc8b482e85055b59092c7995d3 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sat, 4 Dec 2010 17:36:10 +0000 Subject: [PATCH] Hide the first page in the smart playlist wizard --- src/smartplaylists/wizard.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/smartplaylists/wizard.cpp b/src/smartplaylists/wizard.cpp index 1d5e33a51..e8820f030 100644 --- a/src/smartplaylists/wizard.cpp +++ b/src/smartplaylists/wizard.cpp @@ -84,6 +84,9 @@ Wizard::Wizard(LibraryBackend* library, QWidget* parent) new QVBoxLayout(type_page_); AddPlugin(new QueryWizardPlugin(library_, this)); + + // Skip the type page - remove this when we have more than one type + setStartId(2); } Wizard::~Wizard() { @@ -95,7 +98,8 @@ void Wizard::SetGenerator(GeneratorPtr gen) { for (int i=0 ; itype() == gen->type()) { TypeChanged(i); - next(); + // TODO: Put this back in when the setStartId is removed from the ctor + // next(); break; } }