forked from qt-creator/qt-creator
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:
@@ -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()))
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user