forked from qt-creator/qt-creator
Reduce usage of app_version header
Most information is available via Q(Core|Gui)Application. Add an AppInfo structure for the things that are not. This avoids that the information ends up duplicated and hardcoded in the plugins, which is not needed or desired. Change-Id: I4d565e75c42a7b8facafa90c27096ea49359215d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
|
||||
#include <texteditor/syntaxhighlighter.h>
|
||||
|
||||
#include <app/app_version.h>
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/basetreeview.h>
|
||||
#include <utils/checkablemessagebox.h>
|
||||
@@ -269,7 +268,7 @@ public:
|
||||
this, &SeparatedView::tabBarContextMenuRequested);
|
||||
tabBar()->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
setWindowFlags(windowFlags() | Qt::Window);
|
||||
setWindowTitle(Tr::tr("Debugger - %1").arg(Core::Constants::IDE_DISPLAY_NAME));
|
||||
setWindowTitle(Tr::tr("Debugger - %1").arg(QGuiApplication::applicationDisplayName()));
|
||||
|
||||
QVariant geometry = SessionManager::value("DebuggerSeparateWidgetGeometry");
|
||||
if (geometry.isValid()) {
|
||||
|
||||
Reference in New Issue
Block a user