forked from qt-creator/qt-creator
Settings dialog: Polish "reset filter" button.
Add a tool tip to the button and give it our standard icon. Reviewed-by: Friedemann Kleint
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user