forked from qt-creator/qt-creator
Remove unused QObject parent arguments on options pages
In the new plugin setup scheme they are data members of the plugin pimpl and never use the parent. Change-Id: I28fe150393e8159064dcfbd113ce0320af50fd58 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -66,8 +66,7 @@ void SettingsPage::finish()
|
||||
delete m_widget;
|
||||
}
|
||||
|
||||
SettingsPageProvider::SettingsPageProvider(QObject *parent)
|
||||
: IOptionsPageProvider(parent)
|
||||
SettingsPageProvider::SettingsPageProvider()
|
||||
{
|
||||
setCategory(Designer::Constants::SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("Designer",
|
||||
|
||||
@@ -60,7 +60,7 @@ class SettingsPageProvider : public Core::IOptionsPageProvider
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SettingsPageProvider(QObject *parent = nullptr);
|
||||
SettingsPageProvider();
|
||||
|
||||
QList<Core::IOptionsPage *> pages() const override;
|
||||
bool matches(const QString &searchKeyWord) const override;
|
||||
|
||||
Reference in New Issue
Block a user