forked from qt-creator/qt-creator
SettingsDialog: Remove CategoryId parameter from callers
PageIds are supposed to be unique, so the CategoryId can be determined from the PageId. Look for PageIds in the already expanded categories first before searching through expensive categories. Change-Id: I006beb0df6183453163ac1810fe59a306a0f52b1 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -122,11 +122,10 @@ public slots:
|
||||
const QString &defaultLocation = QString(),
|
||||
const QVariantMap &extraVariables = QVariantMap());
|
||||
|
||||
bool showOptionsDialog(Id category = Id(), Id page = Id(), QWidget *parent = 0);
|
||||
bool showOptionsDialog(Id page = Id(), QWidget *parent = 0);
|
||||
|
||||
bool showWarningWithOptions(const QString &title, const QString &text,
|
||||
const QString &details = QString(),
|
||||
Id settingsCategory = Id(),
|
||||
Id settingsId = Id(),
|
||||
QWidget *parent = 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user