forked from qt-creator/qt-creator
UpdateInfoPlugin: Remove one unneeded use of global object pool
Change-Id: If9e6f989de24c447fd33a1cfa3ed22d6fad6788d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -211,7 +211,7 @@ bool UpdateInfoPlugin::initialize(const QStringList & /* arguments */, QString *
|
||||
connect(ICore::instance(), &ICore::saveSettingsRequested,
|
||||
this, &UpdateInfoPlugin::saveSettings);
|
||||
|
||||
addAutoReleasedObject(new SettingsPage(this));
|
||||
(void) new SettingsPage(this);
|
||||
|
||||
QAction *checkForUpdatesAction = new QAction(tr("Check for Updates"), this);
|
||||
checkForUpdatesAction->setMenuRole(QAction::ApplicationSpecificRole);
|
||||
|
Reference in New Issue
Block a user