From 5615796c0a10d5068dfb61ecbfbb9ab048ae63cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 22 Oct 2018 04:14:01 +0200 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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", -- cgit v1.2.1