forked from qt-creator/qt-creator
Delay widget creation of options pages till their category is shown
Also add the alternative way: IOptionsPageProvider, which states a category, and is asked for a list of options pages for that category when it is shown. Task-number: QTCREATORBUG-3131
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
|
||||
QWidget *createPage(QWidget *parent);
|
||||
void apply();
|
||||
void finish() {}
|
||||
void finish();
|
||||
virtual bool matches(const QString &s) const;
|
||||
|
||||
signals:
|
||||
@@ -85,7 +85,7 @@ private:
|
||||
bool m_returnOnClose;
|
||||
|
||||
QString m_searchKeywords;
|
||||
Ui::GeneralSettingsPage m_ui;
|
||||
Ui::GeneralSettingsPage *m_ui;
|
||||
};
|
||||
|
||||
} // Internal
|
||||
|
||||
Reference in New Issue
Block a user