diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-12-23 14:01:26 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-12-23 14:23:36 +0000 |
commit | bc889a1622ffefcb617f0f0f85d1245b1acacec9 (patch) | |
tree | 3fa2a66618f1a9df12d0a2ce6dd528349dcc017c /src/imports | |
parent | ac61952c992ee4cffd6f20b5f3739e44cb6c3de1 (diff) |
QQuickStyleSelector: don't include an empty style name as a selector
This solves the recently surfaced QML import issue:
ASSERT failure in QQmlImportDatabase::importDynamicPlugin:
"Internal error: Plugin imported previously with different uri",
file /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlimport.cpp, line 1947
Because QQuickStyleSelector included double slashes, the path
("Qt/labs/controls//") got converted to a uri with an extra dot in
the end ("Qt.labs.controls."), which conflicted with the actual uri
"Qt.labs.controls".
Somehow related to qtbase commit 2e1de7f which changed QUrl behavior
with local files.
Change-Id: I8236a685a68dcffcd5f03c439236b2e8ea04492e
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/imports')
0 files changed, 0 insertions, 0 deletions