1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 11:19:18 +01:00

Hide the first page in the smart playlist wizard

This commit is contained in:
David Sansome 2010-12-04 17:36:10 +00:00
parent 1dec3e9818
commit 42f1bef53f

View File

@ -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 ; i<plugins_.count() ; ++i) {
if (plugins_[i]->type() == gen->type()) {
TypeChanged(i);
next();
// TODO: Put this back in when the setStartId is removed from the ctor
// next();
break;
}
}