summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2020-08-05 19:50:29 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2020-08-11 07:22:13 +0000
commit7aeaa7aa1ef38ed337b41ea785852c72e48d6f22 (patch)
tree90d26840cb21e392387036e2e75adce1813baa9a
parent3bf839f3b97c986b877a0451fa3a94943ea19831 (diff)
downloadqtquickcontrols-7aeaa7aa1ef38ed337b41ea785852c72e48d6f22.tar.gz
Android: use the correct path to DefaultWindowDecoration.qml
Regression caused by 7a806347167607172ee38c60d30808b298224a8b. The file DefaultWindowDecoration.qml is installed under "qml/QtQuick/Dialogs/qml/" but the path used assumes it's under "qml/QtQuick/Dialogs/". Fixes: QTBUG-85434 Pick-to: 5.15 Change-Id: I536e3d805896815ae63c43c25b60c0e810dc3cab Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--src/dialogs/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/plugin.cpp b/src/dialogs/plugin.cpp
index 2f34c87f..5b192505 100644
--- a/src/dialogs/plugin.cpp
+++ b/src/dialogs/plugin.cpp
@@ -110,7 +110,7 @@ public:
#endif
#endif
- QQuickAbstractDialog::m_decorationComponentUrl = fileLocation("DefaultWindowDecoration");
+ QQuickAbstractDialog::m_decorationComponentUrl = fileLocation("qml/DefaultWindowDecoration");
// Prefer the QPA dialog helpers if the platform supports them.
// Else if there is a QWidget-based implementation, check whether it's
// possible to instantiate it from Qt Quick.