summaryrefslogtreecommitdiffstats
path: root/src/torkapplet/tork_mnu.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-01-14 02:37:59 +0100
committerSlávek Banko <[email protected]>2021-01-15 15:15:43 +0100
commitab700191fa487a238d9cd03c81c9e1ef7124548f (patch)
treec1d1e65ad31314bbe1aa782b2b699a52ca5c0cde /src/torkapplet/tork_mnu.cpp
parentfbb5b1424b098b844b4f744cdeea97ba5279764f (diff)
downloadtork-ab700191fa487a238d9cd03c81c9e1ef7124548f.tar.gz
tork-ab700191fa487a238d9cd03c81c9e1ef7124548f.zip
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 <[email protected]> (cherry picked from commit 355f00c2bd6f4b2870133d0423420ef8046b7156)
Diffstat (limited to 'src/torkapplet/tork_mnu.cpp')
-rw-r--r--src/torkapplet/tork_mnu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/torkapplet/tork_mnu.cpp b/src/torkapplet/tork_mnu.cpp
index 1c72496..df9c07c 100644
--- a/src/torkapplet/tork_mnu.cpp
+++ b/src/torkapplet/tork_mnu.cpp
@@ -165,7 +165,7 @@ void TorkMenu::anonymousApp(int id)
if (m_torkrunning){
DCOPRef("tork*", "DCOPTork").send("startEverything");
- DCOPRef("tork*", "DCOPTork").send(TQCString(app));
+ DCOPRef("tork*", "DCOPTork").send(app.utf8());
}else
KRun::runCommand( TQString("tork --%1").arg(app), "tork", "tork" );