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:
hjk
2018-02-08 10:43:24 +01:00
parent 4248c53c79
commit 0363e4f58b

View File

@@ -211,7 +211,7 @@ bool UpdateInfoPlugin::initialize(const QStringList & /* arguments */, QString *
connect(ICore::instance(), &ICore::saveSettingsRequested, connect(ICore::instance(), &ICore::saveSettingsRequested,
this, &UpdateInfoPlugin::saveSettings); this, &UpdateInfoPlugin::saveSettings);
addAutoReleasedObject(new SettingsPage(this)); (void) new SettingsPage(this);
QAction *checkForUpdatesAction = new QAction(tr("Check for Updates"), this); QAction *checkForUpdatesAction = new QAction(tr("Check for Updates"), this);
checkForUpdatesAction->setMenuRole(QAction::ApplicationSpecificRole); checkForUpdatesAction->setMenuRole(QAction::ApplicationSpecificRole);