diff options
author | Antti Piira <apiira@blackberry.com> | 2013-10-23 17:34:18 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-29 19:18:46 +0100 |
commit | 77faf3f2c79d3d914e03ba9fc152c6b6054037ba (patch) | |
tree | 5c6b64920ee64e082f260a4194b30f38dd1e0f27 /examples/quick/demos/samegame/content/SamegameText.qml | |
parent | d232fa7c8cd01364d32a95eef7e711f3ae857d2c (diff) |
Modify SameGame to use QML Singleton
Converts SameGame to use QML Singleton for storing global settings
data that was previously stored in javascript files. In addition
adds a BlackBerry specific selector to load a different singleton
settings instance.
Change-Id: If511e5efd0e539c764ab70eca4fb0f2874b6240e
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'examples/quick/demos/samegame/content/SamegameText.qml')
-rw-r--r-- | examples/quick/demos/samegame/content/SamegameText.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/demos/samegame/content/SamegameText.qml b/examples/quick/demos/samegame/content/SamegameText.qml index e3bee989fb..2d36e6adab 100644 --- a/examples/quick/demos/samegame/content/SamegameText.qml +++ b/examples/quick/demos/samegame/content/SamegameText.qml @@ -39,7 +39,7 @@ ****************************************************************************/ import QtQuick 2.0 -import "settings.js" as Settings +import "." Text { font.pixelSize: Settings.fontPixelSize; |