From 88215150111e3f143827bc5fd872c666464d5026 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Sun, 18 Dec 2016 15:48:35 +0100 Subject: [PATCH] Replace the last use of deprecated KGlobal::caption(). It is used to construct a title for xterm. We cannot depend on Qt's default behavior in this case. --- kdbg/dbgmainwnd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kdbg/dbgmainwnd.cpp b/kdbg/dbgmainwnd.cpp index 171f93a..8f2d809 100644 --- a/kdbg/dbgmainwnd.cpp +++ b/kdbg/dbgmainwnd.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -986,7 +987,7 @@ QString DebuggerMainWnd::createOutputWindow() shellScript.replace("%s", fifoName); TRACE("output window script is " + shellScript); - QString title = KGlobal::caption(); + QString title = QGuiApplication::applicationDisplayName(); title += i18n(": Program output"); // parse the command line specified in the preferences -- 2.11.4.GIT