Browse Source

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>
pull/1/head
Slávek Banko 3 months ago
parent
commit
ffbcad84f2
Signed by: Slávek Banko <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      CMakeLists.txt
  2. 1
    1
      kshutdown/main.cpp

+ 1
- 1
CMakeLists.txt View File

@@ -60,7 +60,7 @@ include( ConfigureChecks.cmake )
60 60
 
61 61
 ###### global compiler settings
62 62
 
63
-add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST )
63
+add_definitions( -DHAVE_CONFIG_H )
64 64
 
65 65
 set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
66 66
 set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )

+ 1
- 1
kshutdown/main.cpp View File

@@ -39,7 +39,7 @@ TQString version = "1.0.4";
39 39
 TDEAboutData aboutData(
40 40
 	"kshutdown", // internal name
41 41
 	"KShutDown", // full name
42
-	version,
42
+	version.utf8(),
43 43
 	I18N_NOOP("A Shut Down Utility for TDE"), // description
44 44
 	TDEAboutData::License_GPL_V2, // license
45 45
 	"(C) 2003-3000 Konrad Twardowski", // copyright

Loading…
Cancel
Save