summaryrefslogtreecommitdiffstats
path: root/gettextfromc.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-29 22:35:34 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-29 22:35:34 -0700
commit7eaa2c62c44c6b4b09f65ed5cbcfaef61e47d5d7 (patch)
tree01a34a4a05e104046db04fe1cfb0cbe3433873f7 /gettextfromc.h
parent8539ae6471a1bc6d9d40c79059b311f0422f3dc9 (diff)
downloadsubsurface-7eaa2c62c44c6b4b09f65ed5cbcfaef61e47d5d7.tar.gz
Explicitly include needed include file
The Q_DECLARE_TR_FUNCTIONS macro is defined in QCoreApplication, so let's make sure that's included. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gettextfromc.h')
-rw-r--r--gettextfromc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gettextfromc.h b/gettextfromc.h
index f94f1192c..53df18365 100644
--- a/gettextfromc.h
+++ b/gettextfromc.h
@@ -2,6 +2,7 @@
#define GETTEXTFROMC_H
#include <QHash>
+#include <QCoreApplication>
extern "C" const char *trGettext(const char *text);