forked from qt-creator/qt-creator
ExtensionSystem: FilePath'ify
Change IPlugin::fileName() and IPlugin::location to use FilePath instead of QString. Change-Id: If473ab1e258951735f93221cbd62c505f0727eb2 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -153,7 +153,7 @@ void ExtensionManagerWidget::updateView(const QModelIndex ¤t,
|
||||
"of the extensions that are part of pack ") + data.name
|
||||
: extension->longDescription();
|
||||
longDescription.replace("\n", "<br/>");
|
||||
const QString location = isPack ? extension->location() : extension->filePath();
|
||||
const FilePath location = isPack ? extension->location() : extension->filePath();
|
||||
|
||||
QString description = htmlStart;
|
||||
|
||||
@@ -217,7 +217,7 @@ void ExtensionManagerWidget::updateView(const QModelIndex ¤t,
|
||||
.arg(Tr::tr("Version"))
|
||||
.arg(extension->version())
|
||||
.arg(Tr::tr("Location"))
|
||||
.arg(location));
|
||||
.arg(location.toUserOutput()));
|
||||
|
||||
description.append(htmlEnd);
|
||||
m_primaryDescription->setText(description);
|
||||
|
||||
Reference in New Issue
Block a user