Added support for CSS styling of custom widget titlebar close button

This commit is contained in:
Uwe Kindler
2020-08-31 09:38:18 +02:00
parent 04aecb3693
commit dcf1ee393e
6 changed files with 107 additions and 20 deletions

View File

@@ -635,7 +635,7 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager *DockManager) :
{
// KDE doesn't seem to fire MoveEvents while moving windows, so for now no native titlebar for everything using KWin.
QString window_manager = internal::windowManager().toUpper().split(" ")[0];
bool native_window = window_manager != "KWIN";
native_window = window_manager != "KWIN";
}
if (native_window)