diff --git a/src/smartplaylists/querysearchpage.ui b/src/smartplaylists/querysearchpage.ui
index 346e78d9f..b4d401547 100644
--- a/src/smartplaylists/querysearchpage.ui
+++ b/src/smartplaylists/querysearchpage.ui
@@ -19,6 +19,11 @@
Form
+
+ #terms_scroll_area, #terms_scroll_area_content {
+ background: transparent;
+}
+
0
@@ -69,11 +74,8 @@
Search terms
-
- 9
-
-
-
+
0
@@ -86,13 +88,13 @@
true
-
+
0
0
- 422
- 264
+ 418
+ 251
diff --git a/src/smartplaylists/querywizardplugin.cpp b/src/smartplaylists/querywizardplugin.cpp
index be1c4e8e6..e0991a582 100644
--- a/src/smartplaylists/querywizardplugin.cpp
+++ b/src/smartplaylists/querywizardplugin.cpp
@@ -108,12 +108,12 @@ int QueryWizardPlugin::CreatePages(QWizard* wizard, int finish_page_id) {
connect(search_page_->new_term_, SIGNAL(Clicked()), SLOT(AddSearchTerm()));
// Add an empty initial term
- search_page_->layout_ = static_cast(search_page_->ui_->terms_scrollArea_content->layout());
+ search_page_->layout_ = static_cast(search_page_->ui_->terms_scroll_area_content->layout());
search_page_->layout_->addWidget(search_page_->new_term_);
AddSearchTerm();
// Ensure that the terms are scrolled to the bottom when a new one is added
- connect(search_page_->ui_->terms_scrollArea->verticalScrollBar(), SIGNAL(rangeChanged(int,int)), this, SLOT(MoveTermListToBottom(int, int)));
+ connect(search_page_->ui_->terms_scroll_area->verticalScrollBar(), SIGNAL(rangeChanged(int,int)), this, SLOT(MoveTermListToBottom(int, int)));
// Add the preview widget at the bottom of the search terms page
QVBoxLayout* terms_page_layout = static_cast(search_page_->layout());
@@ -299,7 +299,7 @@ Search QueryWizardPlugin::MakeSearch() const {
void QueryWizardPlugin::SearchTypeChanged() {
const bool all = search_page_->ui_->type->currentIndex() == 2;
- search_page_->ui_->terms_scrollArea_content->setEnabled(!all);
+ search_page_->ui_->terms_scroll_area_content->setEnabled(!all);
UpdateTermPreview();
}
@@ -308,7 +308,7 @@ void QueryWizardPlugin::MoveTermListToBottom(int min, int max) {
Q_UNUSED(min);
// Only scroll to the bottom if a new term is added
if (previous_scrollarea_max_ < max)
- search_page_->ui_->terms_scrollArea->verticalScrollBar()->setValue(max);
+ search_page_->ui_->terms_scroll_area->verticalScrollBar()->setValue(max);
previous_scrollarea_max_ = max;
}