diff options
author | Marvin Borner | 2020-04-13 17:28:34 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-13 17:28:34 +0200 |
commit | ab3c37cf59b14c517f3cfb374ddd0e8b108ba392 (patch) | |
tree | ee82cee9032e46afc339a3b4fea5778557fca913 /qml | |
parent | 17e5f0ef4f5aac66ecb83e3b95839a5c4bdd5b94 (diff) |
Fixed some bugs and warnings :)
Diffstat (limited to 'qml')
-rw-r--r-- | qml/pages/Game.qml | 2 | ||||
-rw-r--r-- | qml/pages/LeaderBoard.qml | 4 |
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; } |