Commit d790712b authored by ck's avatar ck
Browse files

Settings dialog: Polish "reset filter" button.

Add a tool tip to the button and give it our standard icon.

Reviewed-by: Friedemann Kleint
parent f0b75092
......@@ -262,7 +262,7 @@ SettingsDialog::SettingsDialog(QWidget *parent, const QString &categoryId,
splitter->setStretchFactor(splitter->indexOf(pageTree), 0);
splitter->setStretchFactor(splitter->indexOf(layoutWidget), 1);
connect(filterClearButton, SIGNAL(clicked()), filterLineEdit, SLOT(clear()));
// The order of the slot connection matters here, the filter slot
// opens the matching page after the model has filtered.
......@@ -28,6 +28,9 @@
<widget class="QToolButton" name="filterClearButton">
<property name="toolTip">
<string>Clear filter</string>
<property name="text">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment