summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefDisplay.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-07-17 16:19:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-18 10:40:08 -0700
commit0363e590f3160965341a069f1dd9244a8eaa5d1e (patch)
tree78905d1042e91a18f5ce83661f8de75d4ea5a784 /tests/testqPrefDisplay.h
parent3c3729711c86a621b425370fd11d4271e4208f1b (diff)
downloadsubsurface-0363e590f3160965341a069f1dd9244a8eaa5d1e.tar.gz
tests: update qPrefDisplay test cases
remove include of QtTest in header, becaue it is not needed, add include of QObject in header, so moc can generate code. add QTest in cpp file, which replaces QtTest Change content of strings to test divelist_font to a not normal font name, to ensure less confusion by readers. Remark the old surrounding code accept illegal font names, but correcting this is not covered in this commit. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefDisplay.h')
-rw-r--r--tests/testqPrefDisplay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testqPrefDisplay.h b/tests/testqPrefDisplay.h
index 6af2d2be5..dfc81aee2 100644
--- a/tests/testqPrefDisplay.h
+++ b/tests/testqPrefDisplay.h
@@ -2,7 +2,7 @@
#ifndef TESTQPREFDISPLAY_H
#define TESTQPREFDISPLAY_H
-#include <QtTest>
+#include <QObject>
class TestQPrefDisplay : public QObject
{