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:
hjk
2019-03-21 08:09:35 +01:00
parent be7c215dd7
commit e9d8ff21b0
60 changed files with 94 additions and 132 deletions

View File

@@ -38,8 +38,7 @@ using namespace ProjectExplorer;
namespace Android {
namespace Internal {
AndroidSettingsPage::AndroidSettingsPage(QObject *parent)
: Core::IOptionsPage(parent)
AndroidSettingsPage::AndroidSettingsPage()
{
setId(Constants::ANDROID_SETTINGS_ID);
setDisplayName(tr("Android"));

View File

@@ -39,7 +39,7 @@ class AndroidSettingsPage : public Core::IOptionsPage
Q_OBJECT
public:
explicit AndroidSettingsPage(QObject *parent = nullptr);
AndroidSettingsPage();
QWidget *widget() override;
void apply() override;