Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.1.0
-
None
-
Ubuntu 13.04
Description
In the standdialogs example with code
qDebug() << colorDialogOptionsWidget->value();
const QColorDialog::ColorDialogOptions options = QFlag(colorDialogOptionsWidget->value());
const QColor color = QColorDialog::getColor(Qt::green, this, "Select Color", options);
and “do not use native dialog” option unchecked, i get this colordialog and the output of 0
http://i.imgur.com/rUV8PLR.png
With the same EXACT code in my application
QColorDialog::ColorDialogOptions options = QFlag(0);
QColor color = QColorDialog::getColor(Qt::green, this, "Select Color", options);
even if i put
QFlag(QColorDialog::NoButtons, QColorDialog::ShowAlphaChannel)
i always get this non native dialog: