From 059a05548356df5c9ec4e9a5bc758e0775917cf2 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Mon, 31 Aug 2020 09:48:32 +0200 Subject: [PATCH] Renamed FloatingContainerForceCustomTitleBar to FloatingWidgetForceQWidgetTitleBar --- src/DockManager.h | 2 +- src/FloatingDockContainer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DockManager.h b/src/DockManager.h index addbc25..a987990 100644 --- a/src/DockManager.h +++ b/src/DockManager.h @@ -185,7 +185,7 @@ public: FloatingContainerForceNativeTitleBar = 0x800000, //!< Linux only ! Forces all FloatingContainer to use the native title bar. This might break docking for FloatinContainer on some Window Managers (like Kwin/KDE). //!< If neither this nor FloatingContainerForceCustomTitleBar is set (the default) native titlebars are used except on known bad systems. //! Users can overwrite this by setting the environment variable ADS_UseNativeTitle to "1" or "0". - FloatingContainerForceCustomTitleBar = 0x1000000,//!< Linux only ! Forces all FloatingContainer to use a custom title bar. + FloatingContainerForceQWidgetTitleBar = 0x1000000,//!< Linux only ! Forces all FloatingContainer to use a QWidget based title bar. //!< If neither this nor FloatingContainerForceNativeTitleBar is set (the default) native titlebars are used except on known bad systems. //! Users can overwrite this by setting the environment variable ADS_UseNativeTitle to "1" or "0". diff --git a/src/FloatingDockContainer.cpp b/src/FloatingDockContainer.cpp index 4f70db2..09b31bc 100644 --- a/src/FloatingDockContainer.cpp +++ b/src/FloatingDockContainer.cpp @@ -627,7 +627,7 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) : { native_window = true; } - else if (DockManager->testConfigFlag(CDockManager::FloatingContainerForceCustomTitleBar)) + else if (DockManager->testConfigFlag(CDockManager::FloatingContainerForceQWidgetTitleBar)) { native_window = false; }