Force color dialog to use Qt style. Fixes some issues
authorWuzzy <Wuzzy2@mail.ru>
Wed, 14 Mar 2018 01:22:45 +0100
changeset 13198 3a110dcb6e87
parent 13195 f9c787f58459
child 13199 290815bbd4e1
Force color dialog to use Qt style. Fixes some issues
QTfrontend/ui/page/pageoptions.cpp
--- a/QTfrontend/ui/page/pageoptions.cpp	Wed Mar 14 00:20:47 2018 +0100
+++ b/QTfrontend/ui/page/pageoptions.cpp	Wed Mar 14 01:22:45 2018 +0100
@@ -1008,7 +1008,7 @@
         return;
 
     QPalette p = m_colorButtons[i]->palette();
-    QColor c = QColorDialog::getColor(p.color(QPalette::Button));
+    QColor c = QColorDialog::getColor(p.color(QPalette::Button), this, QString(), QColorDialog::DontUseNativeDialog);
 
     if(c.isValid())
     {