summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-10-22 04:14:01 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-10-22 04:15:35 +0200
commit5615796c0a10d5068dfb61ecbfbb9ab048ae63cd (patch)
treeb56f944df027ed4bbb0531a85e57986382cb79bd /src/main.cpp
parent45e95597267482ddb1023b33ebeeb50597d91508 (diff)
downloadknmap-5615796c0a10d5068dfb61ecbfbb9ab048ae63cd.tar.gz
knmap-5615796c0a10d5068dfb61ecbfbb9ab048ae63cd.zip
Fix incorrect use of TQString() inside i18n().
Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 57c4b41..9eec7aa 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -39,7 +39,7 @@ int main( int argc, string argv[])
{ TQString version = TQString( "Version 2.1, %1 %2" ).arg( __TIME__ ).arg( __DATE__ );
TDEAboutData about( "knmap",
I18N_NOOP( "Knmap" ),
- version,
+ version.utf8(),
description,
TDEAboutData::License_GPL,
"(C) 2005, 2006 Kevin Gilbert",