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:
@@ -46,7 +46,7 @@ class CppCodeModelSettingsWidget: public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CppCodeModelSettingsWidget(QWidget *parent = nullptr);
|
||||
CppCodeModelSettingsWidget();
|
||||
~CppCodeModelSettingsWidget() override;
|
||||
|
||||
void setSettings(const QSharedPointer<CppCodeModelSettings> &s);
|
||||
@@ -67,8 +67,7 @@ private:
|
||||
class CppCodeModelSettingsPage: public Core::IOptionsPage
|
||||
{
|
||||
public:
|
||||
explicit CppCodeModelSettingsPage(QSharedPointer<CppCodeModelSettings> &settings,
|
||||
QObject *parent = nullptr);
|
||||
explicit CppCodeModelSettingsPage(QSharedPointer<CppCodeModelSettings> &settings);
|
||||
|
||||
QWidget *widget() override;
|
||||
void apply() override;
|
||||
|
||||
Reference in New Issue
Block a user