summaryrefslogtreecommitdiffstats
path: root/tests/tst_qPref.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tst_qPref.qml')
-rw-r--r--tests/tst_qPref.qml9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/tst_qPref.qml b/tests/tst_qPref.qml
index 99b798423..ed96ada3a 100644
--- a/tests/tst_qPref.qml
+++ b/tests/tst_qPref.qml
@@ -1,17 +1,12 @@
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.6
import QtTest 1.2
-import org.subsurfacedivelog.mobile 1.0
TestCase {
name: "qPref"
- SsrfPrefs {
- id: prefs
- }
-
function test_register() {
- var x = prefs.mobile_version
- compare(x, prefs.mobile_version)
+ var x = Pref.mobile_version
+ compare(x, Pref.mobile_version)
}
}