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

@@ -121,9 +121,7 @@ void QmlJSCodeStylePreferencesWidget::updatePreview()
// ------------------ CppCodeStyleSettingsPage
QmlJSCodeStyleSettingsPage::QmlJSCodeStyleSettingsPage(/*QSharedPointer<CppFileSettings> &settings,*/
QWidget *parent) :
Core::IOptionsPage(parent)
QmlJSCodeStyleSettingsPage::QmlJSCodeStyleSettingsPage()
{
setId(Constants::QML_JS_CODE_STYLE_SETTINGS_ID);
setDisplayName(QCoreApplication::translate("QmlJSTools", Constants::QML_JS_CODE_STYLE_SETTINGS_NAME));