ExtensionManager: Avoid usage of app_version header

It didn't compile and most code aside from main.cpp should use other
means to get this information.

Change-Id: Iecc9452ae336ac021bbad5a546f4de5808716fbc
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2024-10-31 09:42:08 +01:00
parent 11d495a532
commit 122eac9ae0

View File

@@ -6,8 +6,6 @@
#include "extensionmanagerconstants.h"
#include "extensionmanagertr.h"
#include <app/app_version.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/dialogs/ioptionspage.h>
#include <coreplugin/icore.h>
@@ -16,6 +14,8 @@
#include <utils/layoutbuilder.h>
#include <utils/stylehelper.h>
#include <QGuiApplication>
namespace ExtensionManager::Internal {
ExtensionManagerSettings &settings()
@@ -50,7 +50,7 @@ ExtensionManagerSettings::ExtensionManagerSettings()
"flaws or malicious intent, so be careful when installing them, "
"as it might leave your computer vulnerable to attacks such as "
"hacking, malware, and phishing.")
.arg(QLatin1String(Core::Constants::IDE_DISPLAY_NAME)))
.arg(QGuiApplication::applicationDisplayName()))
}
}
},