Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Use popup flag for color picker popups on all platforms

Luna Lovecraftb16bd1a171a6
diff --git a/plugins/dockers/advancedcolorselector/kis_color_selector_base.cpp b/plugins/dockers/advancedcolorselector/kis_color_selector_base.cpp
index 256ab8b000..1e4fb3906c 100644
--- a/plugins/dockers/advancedcolorselector/kis_color_selector_base.cpp
+++ b/plugins/dockers/advancedcolorselector/kis_color_selector_base.cpp
@@ -400,11 +400,7 @@ void KisColorSelectorBase::lazyCreatePopup()
// the WM from showing another taskbar entry,
// but will require that we handle window activation manually
m_popup->setWindowFlags(Qt::FramelessWindowHint |
-#if defined(Q_OS_MACOS) || defined(Q_OS_ANDROID)
Qt::Popup |
-#else
- Qt::Window |
-#endif
Qt::NoDropShadowWindowHint |
Qt::BypassWindowManagerHint);
m_popup->m_parent = this;