summaryrefslogtreecommitdiffstats
path: root/src/qtbc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtbc.h')
-rw-r--r--src/qtbc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qtbc.h b/src/qtbc.h
index 570bf93..0091717 100644
--- a/src/qtbc.h
+++ b/src/qtbc.h
@@ -26,11 +26,13 @@
#if QT_VERSION >= 200
+#include <locale.h>
+
#define GCI QCollection::Item
#include <qcstring.h>
#include <qstring.h>
-inline QCString convertToQCString(const QString &s) { return s.local8Bit(); }
+inline QCString convertToQCString(const QString &s) { return s.latin1(); }
#else /* QT_VERSION < 200 */