summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/magiclabel.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 426a862..4df15b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -56,7 +56,7 @@ include( ConfigureChecks.cmake )
###### global compiler settings
-add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST )
+add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
diff --git a/src/magiclabel.cpp b/src/magiclabel.cpp
index 0613720..b22461d 100644
--- a/src/magiclabel.cpp
+++ b/src/magiclabel.cpp
@@ -31,7 +31,7 @@ MagicLabel::MagicLabel(TQString s, bool translate)
transform();
if (translate)
- mValue = i18n(mValue);
+ mValue = i18n(mValue.utf8());
}