diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-04-14 06:44:29 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-04-14 06:58:56 -0700 |
commit | d8e11439ad27063b0dad05b2f8f0f4cd7f3e7de1 (patch) | |
tree | 22fae2f6ee0915afe9075ab6558882ded736ca1b /qt-ui/common.h | |
parent | fc0e307f00ceb50771d1c7a1489c7b65721f4143 (diff) | |
download | subsurface-d8e11439ad27063b0dad05b2f8f0f4cd7f3e7de1.tar.gz |
Undoing the last Qtr_ hack
The Qtr_ hack isn't needed as in commit 720fc15b2dcd ("Introduce
QApplication") had already made sure that we are using gettext.
I didn't revert the two commits as I wanted to keep the added header
comments and fix the tooling in the Makefile as well.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/common.h')
-rw-r--r-- | qt-ui/common.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/qt-ui/common.h b/qt-ui/common.h deleted file mode 100644 index 6e00c80ed..000000000 --- a/qt-ui/common.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * common.h - * - * shared by all Qt/C++ code - * - */ - -#ifndef COMMON_H -#define COMMON_H - -#include <glib/gi18n.h> -#include <QString> - -/* use this instead of tr() for translated string literals */ -inline QString Qtr_(const char *str) -{ - return QString::fromUtf8(gettext(str)); -} - -#endif |