diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-04-03 23:19:13 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-04 09:29:45 -0700 |
commit | 2ead52b1398aef218c18d056c5a4da6b1d686ca5 (patch) | |
tree | d9450a3d8337e229888ace4f92ec922731705ffb /tests | |
parent | d45f67c84d0eaceb0ac8ebd0e270a6206f75bc29 (diff) | |
download | subsurface-2ead52b1398aef218c18d056c5a4da6b1d686ca5.tar.gz |
Cleanup: remove qPref::canonical_version() and qPref::mobile_version()
These two member functions were never used, but cause frequent
recompilation of the qPref.cpp file. Remove them for now until
their usefulness becomes evident.
These were the only functions tested in test_qPref.qml. Therefore
remove this test-file.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tst_qPref.qml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/tst_qPref.qml b/tests/tst_qPref.qml deleted file mode 100644 index ed96ada3a..000000000 --- a/tests/tst_qPref.qml +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -import QtQuick 2.6 -import QtTest 1.2 - -TestCase { - name: "qPref" - - function test_register() { - var x = Pref.mobile_version - compare(x, Pref.mobile_version) - } -} |