Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Next Major Release
-
None
-
MinGW 32bit/windows7x64
android Nexus 10 API18/19
Description
The following code ( in qdoc: .../Qt5.2.0/5.2.0-beta1/mingw48_32/doc/qtquickdialogs/qml-qtquick-dialogs-colordialog.html) works, but produces a wrong output.
The optput is always from the previews result.
import QtQuick 2.1
import QtQuick.Dialogs 1.0
ColorDialog {
id: colorDialog
title: "Please choose a color"
onAccepted:
onRejected:
{ console.log("Canceled") Qt.quit() } Component.onCompleted: visible = true
}