Minor smart playlist UI improvements
This commit is contained in:
parent
0555cf5a35
commit
f90babefa8
|
@ -14,7 +14,16 @@
|
||||||
<string>Form</string>
|
<string>Form</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<property name="margin">
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
|
@ -82,6 +91,12 @@
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QSpinBox" name="limit_value">
|
<widget class="QSpinBox" name="limit_value">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>150</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="suffix">
|
<property name="suffix">
|
||||||
<string> songs</string>
|
<string> songs</string>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -106,6 +106,9 @@ void Wizard::SetGenerator(GeneratorPtr gen) {
|
||||||
// Set the name
|
// Set the name
|
||||||
finish_page_->ui_->name->setText(gen->name());
|
finish_page_->ui_->name->setText(gen->name());
|
||||||
finish_page_->ui_->dynamic->setChecked(gen->is_dynamic());
|
finish_page_->ui_->dynamic->setChecked(gen->is_dynamic());
|
||||||
|
if (!gen->name().isEmpty()) {
|
||||||
|
setWindowTitle(windowTitle() + " - " + gen->name());
|
||||||
|
}
|
||||||
|
|
||||||
if (type_index_ == -1) {
|
if (type_index_ == -1) {
|
||||||
qLog(Error) << "Plugin was not found for generator type" << gen->type();
|
qLog(Error) << "Plugin was not found for generator type" << gen->type();
|
||||||
|
|
Loading…
Reference in New Issue