mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
tests: make testpreferences.h loadable independent of testdive
set #ifdef TESTPREFERENCES in testpreferences.h so it can be loaded with other header files Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
19803ab3c3
commit
efab865b07
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef TESTDIVESITEDUPLICATION_H
|
||||
#define TESTDIVESITEDUPLICATION_H
|
||||
#ifndef TESTPREFERENCES_H
|
||||
#define TESTPREFERENCES_H
|
||||
|
||||
#include <QTest>
|
||||
#include <functional>
|
||||
|
@ -13,4 +13,4 @@ private slots:
|
|||
void testPreferences();
|
||||
};
|
||||
|
||||
#endif // TESTDIVESITEDUPLICATION_H
|
||||
#endif // TESTPREFERENCES_H
|
||||
|
|
Loading…
Add table
Reference in a new issue