diff --git a/CMakeLists.txt b/CMakeLists.txt index b759ecc..c1cebb5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,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" ) diff --git a/systemsettings/mainwindow.cpp b/systemsettings/mainwindow.cpp index 2886def..082a7be 100644 --- a/systemsettings/mainwindow.cpp +++ b/systemsettings/mainwindow.cpp @@ -175,7 +175,7 @@ void MainWindow::buildActions() } TDERadioAction *newAction = new TDERadioAction( group->caption(), group->icon(), TDEShortcut(), TQT_TQOBJECT(this), - TQT_SLOT(slotTopPage()), actionCollection(), group->relPath() ); + TQT_SLOT(slotTopPage()), actionCollection(), group->relPath().utf8() ); pageActions.append(newAction); kdDebug() << "relpath is :" << group->relPath() << endl; }