diff options
author | Marcus Tillmanns <[email protected]> | 2024-05-07 08:33:02 +0200 |
---|---|---|
committer | Marcus Tillmanns <[email protected]> | 2024-05-08 10:29:59 +0000 |
commit | 657ce51467d74462b030f0a89f74c91b5b36c662 (patch) | |
tree | 30d9992faa3f1f8346f7c5ea7c02f27b6416f7d8 /src/plugins/extensionmanager/extensionmanagerwidget.cpp | |
parent | aad2f6ecac5f7d7522bec7e509a2ce984a5161af (diff) |
ExtensionSystem: FilePath'ify
Change IPlugin::fileName() and IPlugin::location to use
FilePath instead of QString.
Change-Id: If473ab1e258951735f93221cbd62c505f0727eb2
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/extensionmanager/extensionmanagerwidget.cpp')
-rw-r--r-- | src/plugins/extensionmanager/extensionmanagerwidget.cpp | 4 |
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 ¤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); |