diff --git a/src/plugins/coreplugin/plugininstallwizard.cpp b/src/plugins/coreplugin/plugininstallwizard.cpp index dc3d6c3fa9b..4bb7fd263c0 100644 --- a/src/plugins/coreplugin/plugininstallwizard.cpp +++ b/src/plugins/coreplugin/plugininstallwizard.cpp @@ -342,13 +342,14 @@ public: !m_data->installIntoApplication); installLocation.ensureWritableDir(); - m_summaryLabel->setText(Tr::tr("%1 will be installed into %2.") - .arg(QString("[%1](%2)") - .arg(m_data->sourcePath.fileName()) - .arg(m_data->sourcePath.parentDir().toUrl().toString())) - .arg(QString("[%1](%2)") - .arg(installLocation.fileName()) - .arg(installLocation.toUrl().toString()))); + m_summaryLabel->setText( + Tr::tr("%1 will be installed into %2.") + .arg(QString("[%1](%2)") + .arg(m_data->sourcePath.fileName()) + .arg(m_data->sourcePath.parentDir().toUrl().toString(QUrl::FullyEncoded))) + .arg(QString("[%1](%2)") + .arg(installLocation.fileName()) + .arg(installLocation.toUrl().toString(QUrl::FullyEncoded)))); m_loadImmediately->setVisible(m_data->pluginSpec && m_data->pluginSpec->isSoftLoadable()); }