summaryrefslogtreecommitdiff
path: root/src/extras
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-06-03 14:46:09 +0200
committerAntti Kokko <antti.kokko@theqtcompany.com>2015-06-03 16:20:40 +0000
commitcc4ddcddf7322b7dae6a6d0e75cb3b328c02ddb3 (patch)
treefa1378b00c3fa8fd0caf547e6fa6b10d33a4bc4f /src/extras
parente648611e6d64891f1723a0e32c783c8d5f994de1 (diff)
downloadqtquickcontrols-cc4ddcddf7322b7dae6a6d0e75cb3b328c02ddb3.tar.gz
StatusIndicator: fix error when only including QtQuick.Extras.
Include QtQuick.Controls in StatusIndicator.qml to ensure that the Settings singleton is known, otherwise we get: qrc:///ExtrasImports/QtQuick/Extras/StatusIndicator.qml:115: TypeError: Cannot read property 'color' of null qrc:///ExtrasImports/QtQuick/Extras/StatusIndicator.qml:92: ReferenceError: Settings is not defined Change-Id: I61d47bcf4e7ee43a932f8f55a2e2d700a849618f Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/extras')
-rw-r--r--src/extras/StatusIndicator.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/extras/StatusIndicator.qml b/src/extras/StatusIndicator.qml
index 7348833d..df76a3d4 100644
--- a/src/extras/StatusIndicator.qml
+++ b/src/extras/StatusIndicator.qml
@@ -35,6 +35,7 @@
****************************************************************************/
import QtQuick 2.2
+import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtQuick.Controls.Private 1.0
import QtQuick.Extras 1.4