mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
a842e44b68
commit
27b4ef321a
3 changed files with 8 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue