summaryrefslogtreecommitdiff
path: root/src/controls/ApplicationWindow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/ApplicationWindow.qml')
-rw-r--r--src/controls/ApplicationWindow.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml
index 42f0d549..0edfe5ea 100644
--- a/src/controls/ApplicationWindow.qml
+++ b/src/controls/ApplicationWindow.qml
@@ -88,7 +88,7 @@ import QtQuick.Controls.Private 1.0
point to explore this type.
*/
-ApplicationWindowPrivate {
+Window {
id: root
/*!
@@ -221,7 +221,7 @@ ApplicationWindowPrivate {
sourceComponent: style
property var __control: root
property QtObject styleData: QtObject {
- readonly property bool hasColor: root.__hasColor
+ readonly property bool hasColor: root.color != "#ffffff"
}
onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", root)
}