diff options
author | Eike Ziller <eike.ziller@qt.io> | 2021-02-18 09:26:22 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2021-02-18 09:26:22 +0100 |
commit | 768d4321f9bd06b2947d745814bb571b8330b121 (patch) | |
tree | bca6d94b1ffae85fe38c492f3c4b0d551d551aaa /src/plugins/coreplugin/plugininstallwizard.cpp | |
parent | 1133e26d3a2433a3ab51c735d3effad807838e2f (diff) | |
parent | 8d5b4815d319bc22507f4f6a8dabb3a170c5270e (diff) | |
download | qt-creator-768d4321f9bd06b2947d745814bb571b8330b121.tar.gz |
Merge remote-tracking branch 'origin/4.14'
Change-Id: I214b8d59e8ff7fe0511cd6116ec7725ddc4376ee
Diffstat (limited to 'src/plugins/coreplugin/plugininstallwizard.cpp')
-rw-r--r-- | src/plugins/coreplugin/plugininstallwizard.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/plugininstallwizard.cpp b/src/plugins/coreplugin/plugininstallwizard.cpp index ee2f4bd1f6..91230b658e 100644 --- a/src/plugins/coreplugin/plugininstallwizard.cpp +++ b/src/plugins/coreplugin/plugininstallwizard.cpp @@ -64,7 +64,7 @@ struct Data { FilePath sourcePath; FilePath extractedPath; - bool installIntoApplication; + bool installIntoApplication = false; }; static QStringList libraryNameFilter() @@ -354,7 +354,7 @@ public: vlayout->addSpacing(10); auto localInstall = new QRadioButton(PluginInstallWizard::tr("User plugins")); - localInstall->setChecked(true); + localInstall->setChecked(!m_data->installIntoApplication); auto localLabel = new QLabel( PluginInstallWizard::tr("The plugin will be available to all compatible %1 " "installations, but only for the current user.") @@ -368,6 +368,7 @@ public: auto appInstall = new QRadioButton( PluginInstallWizard::tr("%1 installation").arg(Constants::IDE_DISPLAY_NAME)); + appInstall->setChecked(m_data->installIntoApplication); auto appLabel = new QLabel( PluginInstallWizard::tr("The plugin will be available only to this %1 " "installation, but for all users that can access it.") |