From ab3c37cf59b14c517f3cfb374ddd0e8b108ba392 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 13 Apr 2020 17:28:34 +0200 Subject: Fixed some bugs and warnings :) --- qml/pages/LeaderBoard.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qml/pages/LeaderBoard.qml') 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; } -- cgit v1.2.3