aboutsummaryrefslogtreecommitdiffhomepage
path: root/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml')
-rw-r--r--qml/pages/Game.qml2
-rw-r--r--qml/pages/LeaderBoard.qml4
2 files changed, 3 insertions, 3 deletions
diff --git a/qml/pages/Game.qml b/qml/pages/Game.qml
index 550f815..a45798e 100644
--- a/qml/pages/Game.qml
+++ b/qml/pages/Game.qml
@@ -1,6 +1,6 @@
import QtQuick 2.2
import Sailfish.Silica 1.0
-import org.nemomobile.configuration 1.0
+import Nemo.Configuration 1.0
import ".."
Page {
diff --git a/qml/pages/LeaderBoard.qml b/qml/pages/LeaderBoard.qml
index 1c1fb33..39ca742 100644
--- a/qml/pages/LeaderBoard.qml
+++ b/qml/pages/LeaderBoard.qml
@@ -1,6 +1,6 @@
import QtQuick 2.2
import Sailfish.Silica 1.0
-import org.nemomobile.configuration 1.0
+import Nemo.Configuration 1.0
Page {
id: page
@@ -40,7 +40,7 @@ Page {
if (xhr.readyState === 4 && xhr.status === 200) {
list.model = JSON.parse(xhr.responseText);
internet.visible = false;
- } else {
+ } else if (xhr.readyState === 4) {
list.model = []
internet.visible = true;
}