diff options
author | jan Iversen <jani@apache.org> | 2018-08-20 12:50:21 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-25 11:49:47 -0700 |
commit | 5f4a040dd217c07a341bd03fe80fe19747d1541e (patch) | |
tree | 6c8d480dabf65ff15a721c3dccfc152b946b1cd8 /tests/tst_qPrefGeneral.qml | |
parent | da6e8a4cd5d80a4288129bf44b1efad69de1704f (diff) | |
download | subsurface-5f4a040dd217c07a341bd03fe80fe19747d1541e.tar.gz |
core/tests: add class var to qPrefGeneral
Add static class variables to qPrefGeneral
(and remove QSettings from desktop-widgets)
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/tst_qPrefGeneral.qml')
-rw-r--r-- | tests/tst_qPrefGeneral.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/tst_qPrefGeneral.qml b/tests/tst_qPrefGeneral.qml index eb66383af..5c1669056 100644 --- a/tests/tst_qPrefGeneral.qml +++ b/tests/tst_qPrefGeneral.qml @@ -58,5 +58,13 @@ TestCase { var x11 = tst.use_default_file tst.use_default_file = true compare(tst.use_default_file, true) + + var x12 = tst.diveshareExport_uid + tst.diveshareExport_uid = "myUid" + compare(tst.diveshareExport_uid, "myUid") + + var x13 = tst.diveshareExport_private + tst.diveshareExport_private = true + compare(tst.diveshareExport_private, true) } } |