Skip to content

Commit 059a055

Browse files
Renamed FloatingContainerForceCustomTitleBar to
FloatingWidgetForceQWidgetTitleBar
1 parent dcf1ee3 commit 059a055

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DockManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class ADS_EXPORT CDockManager : public CDockContainerWidget
185185
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).
186186
//!< If neither this nor FloatingContainerForceCustomTitleBar is set (the default) native titlebars are used except on known bad systems.
187187
//! Users can overwrite this by setting the environment variable ADS_UseNativeTitle to "1" or "0".
188-
FloatingContainerForceCustomTitleBar = 0x1000000,//!< Linux only ! Forces all FloatingContainer to use a custom title bar.
188+
FloatingContainerForceQWidgetTitleBar = 0x1000000,//!< Linux only ! Forces all FloatingContainer to use a QWidget based title bar.
189189
//!< If neither this nor FloatingContainerForceNativeTitleBar is set (the default) native titlebars are used except on known bad systems.
190190
//! Users can overwrite this by setting the environment variable ADS_UseNativeTitle to "1" or "0".
191191

src/FloatingDockContainer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) :
627627
{
628628
native_window = true;
629629
}
630-
else if (DockManager->testConfigFlag(CDockManager::FloatingContainerForceCustomTitleBar))
630+
else if (DockManager->testConfigFlag(CDockManager::FloatingContainerForceQWidgetTitleBar))
631631
{
632632
native_window = false;
633633
}

0 commit comments

Comments
 (0)