Correctly open the resource file

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-12-27 13:31:30 +01:00 committed by Dirk Hohndel
parent a842e44b68
commit 27b4ef321a
3 changed files with 8 additions and 1 deletions

View file

@ -4,6 +4,12 @@
#include "core/divelist.h"
#include <QTextStream>
void TestParse::initTestCase()
{
/* we need to manually tell that the resource exists, because we are using it as library. */
Q_INIT_RESOURCE(subsurface);
}
char *intdup(int index)
{
char tmpbuf[21];