diff options
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 |