From bf82245bafad25403aeb7129ebe1fc419c6f4ad9 Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 30 Jan 2014 21:59:41 +0100 Subject: Restore support for -title command line argument on X11, add -qwindowtitle. -title disappeared between Qt4 and Qt5, due to all the refactorings around QPA. Making the caption of the mainwindow configurable allows custom setups for specific users or use cases. [ChangeLog][QtGui][QGuiApplication] Restore support for -title command line argument on X11, add -qwindowtitle on all platforms. Change-Id: I73e6bf21248f3419178eba583b257172a175e74e Reviewed-by: Friedemann Kleint Reviewed-by: Albert Astals Cid Reviewed-by: Paul Olav Tvete Reviewed-by: Frederik Gladhorn --- src/gui/kernel/qguiapplication_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/kernel/qguiapplication_p.h') diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index 57c55e1e0f..22f1cb9aa8 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -231,6 +231,8 @@ public: static bool noGrab; QInputMethod *inputMethod; + QString firstWindowTitle; + static QList generic_plugin_list; #ifndef QT_NO_SHORTCUT QShortcutMap shortcutMap; -- cgit v1.2.3