summaryrefslogtreecommitdiffstats
path: root/src/konqplugin/tork_plug_in.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/konqplugin/tork_plug_in.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/konqplugin/tork_plug_in.cpp')
-rw-r--r--src/konqplugin/tork_plug_in.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/konqplugin/tork_plug_in.cpp b/src/konqplugin/tork_plug_in.cpp
index 98dd755..6010b7d 100644
--- a/src/konqplugin/tork_plug_in.cpp
+++ b/src/konqplugin/tork_plug_in.cpp
@@ -147,7 +147,7 @@ void Tork_plug_in::openWithBrowser(const TQString &browser)
if (p_dcopServer->isApplicationRegistered ("tork")){
TQString function = TQString("anonymized%1").arg(browser);
DCOPRef("tork", "DCOPTork").send("startEverything");
- DCOPRef("tork", "DCOPTork").send(TQCString(function),url);
+ DCOPRef("tork", "DCOPTork").send(function.utf8(), url);
}else
KRun::runCommand( TQString("tork --anonymous%1 %2").arg(browser).arg(url), "tork", "tork" );