forked from qt-creator/qt-creator
Core: Fix url encoding in markdown text
Otherwise spaces break the links Change-Id: Ib9ce1c3409d07bcba8b79f8269c9af95228f5692 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user