From 2ead52b1398aef218c18d056c5a4da6b1d686ca5 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 3 Apr 2019 23:19:13 +0200 Subject: 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 --- tests/tst_qPref.qml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 tests/tst_qPref.qml (limited to 'tests') 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) - } -} -- cgit v1.2.3-70-g09d2