summaryrefslogtreecommitdiff
path: root/src/plugins/help/generalsettingspage.h
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2010-12-02 18:28:16 +0100
committercon <qtc-committer@nokia.com>2010-12-06 11:18:58 +0100
commit773343f396adb765e3b1837b3d961045e2a10056 (patch)
treef0708f1718a47185e9da54f649d42d568a08944b /src/plugins/help/generalsettingspage.h
parent5c99316624d59463d24096ff5ffadd1e58e4d12e (diff)
downloadqt-creator-773343f396adb765e3b1837b3d961045e2a10056.tar.gz
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
Diffstat (limited to 'src/plugins/help/generalsettingspage.h')
-rw-r--r--src/plugins/help/generalsettingspage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/help/generalsettingspage.h b/src/plugins/help/generalsettingspage.h
index 87a93b5b13..60d0b7ba0d 100644
--- a/src/plugins/help/generalsettingspage.h
+++ b/src/plugins/help/generalsettingspage.h
@@ -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