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);
|
!m_data->installIntoApplication);
|
||||||
installLocation.ensureWritableDir();
|
installLocation.ensureWritableDir();
|
||||||
|
|
||||||
m_summaryLabel->setText(Tr::tr("%1 will be installed into %2.")
|
m_summaryLabel->setText(
|
||||||
.arg(QString("[%1](%2)")
|
Tr::tr("%1 will be installed into %2.")
|
||||||
.arg(m_data->sourcePath.fileName())
|
.arg(QString("[%1](%2)")
|
||||||
.arg(m_data->sourcePath.parentDir().toUrl().toString()))
|
.arg(m_data->sourcePath.fileName())
|
||||||
.arg(QString("[%1](%2)")
|
.arg(m_data->sourcePath.parentDir().toUrl().toString(QUrl::FullyEncoded)))
|
||||||
.arg(installLocation.fileName())
|
.arg(QString("[%1](%2)")
|
||||||
.arg(installLocation.toUrl().toString())));
|
.arg(installLocation.fileName())
|
||||||
|
.arg(installLocation.toUrl().toString(QUrl::FullyEncoded))));
|
||||||
|
|
||||||
m_loadImmediately->setVisible(m_data->pluginSpec && m_data->pluginSpec->isSoftLoadable());
|
m_loadImmediately->setVisible(m_data->pluginSpec && m_data->pluginSpec->isSoftLoadable());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user