aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/extensionmanager
diff options
context:
space:
mode:
authorMarcus Tillmanns <marcus.tillmanns@qt.io>2024-05-07 08:33:02 +0200
committerMarcus Tillmanns <marcus.tillmanns@qt.io>2024-05-08 10:29:59 +0000
commit657ce51467d74462b030f0a89f74c91b5b36c662 (patch)
tree30d9992faa3f1f8346f7c5ea7c02f27b6416f7d8 /src/plugins/extensionmanager
parentaad2f6ecac5f7d7522bec7e509a2ce984a5161af (diff)
ExtensionSystem: FilePath'ify
Change IPlugin::fileName() and IPlugin::location to use FilePath instead of QString. Change-Id: If473ab1e258951735f93221cbd62c505f0727eb2 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/extensionmanager')
-rw-r--r--src/plugins/extensionmanager/extensionmanagerwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/extensionmanager/extensionmanagerwidget.cpp b/src/plugins/extensionmanager/extensionmanagerwidget.cpp
index be7e0f92eec..d8574a740fe 100644
--- a/src/plugins/extensionmanager/extensionmanagerwidget.cpp
+++ b/src/plugins/extensionmanager/extensionmanagerwidget.cpp
@@ -153,7 +153,7 @@ void ExtensionManagerWidget::updateView(const QModelIndex &current,
"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 &current,
.arg(Tr::tr("Version"))
.arg(extension->version())
.arg(Tr::tr("Location"))
- .arg(location));
+ .arg(location.toUserOutput()));
description.append(htmlEnd);
m_primaryDescription->setText(description);