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 7 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 )

###### 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 "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )

+ 1
- 1
kshutdown/main.cpp View File

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

Loading…
Cancel
Save