mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Color Dialog : Use Qt color dialog, not native color dialog (#6504)
This commit is contained in:
parent
411adfd7e6
commit
0d43000100
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user