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>
Slávek Banko 4 years ago
parent 5c38e12084
commit 079d0dde75
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668

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

@ -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;
}

Loading…
Cancel
Save