Commit dc7ffefa authored by hjk's avatar hjk
Browse files

GenericLinux: Make device configuration wizard stay on top of application

Arguably, it should even stay on top of the options page if started from
there, but...

Change-Id: I36591f5f3125aad1114b799fe94b2a1dd5e03a9f
Reviewed-by: default avatarFriedemann Kleint <>
Reviewed-by: default avatarChristian Kandeler <>
parent ab521540
......@@ -32,6 +32,8 @@
#include "linuxdevice.h"
#include "remotelinux_constants.h"
#include <coreplugin/icore.h>
#include <utils/qtcassert.h>
using namespace ProjectExplorer;
......@@ -57,7 +59,7 @@ QList<Core::Id> GenericLinuxDeviceConfigurationFactory::availableCreationIds() c
IDevice::Ptr GenericLinuxDeviceConfigurationFactory::create(Core::Id id) const
QTC_ASSERT(id == Constants::GenericLinuxOsType, return IDevice::Ptr());
GenericLinuxDeviceConfigurationWizard wizard;
GenericLinuxDeviceConfigurationWizard wizard(Core::ICore::mainWindow());
if (wizard.exec() != QDialog::Accepted)
return IDevice::Ptr();
return wizard.device();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment