Color Dialog : Use Qt color dialog, not native color dialog (#6504)

This commit is contained in:
Magne Sjaastad
2020-09-15 13:54:08 +02:00
committed by GitHub
parent 411adfd7e6
commit 0d43000100

View File

@@ -171,6 +171,10 @@ QWidget* PdmUiColorEditor::createLabelWidget( QWidget* parent )
void PdmUiColorEditor::colorSelectionClicked()
{
QColorDialog::ColorDialogOptions flags;
#ifndef WIN32
flags = QColorDialog::DontUseNativeDialog;
#endif
if ( m_attributes.showAlpha )
{
flags |= QColorDialog::ShowAlphaChannel;