Commit d790712b authored by ck's avatar ck

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);
filterClearButton->setIcon(QIcon(QLatin1String(":/debugger/images/delete.png")));
filterClearButton->setIcon(QIcon(QLatin1String(":/core/images/reset.png")));
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 @@
</item>
<item>
<widget class="QToolButton" name="filterClearButton">
<property name="toolTip">
<string>Clear filter</string>
</property>
<property name="text">
<string>Clear</string>
</property>
......
Markdown is supported
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