summaryrefslogtreecommitdiffstats
path: root/kommander/executor
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-03-07 20:24:08 +0100
committergregory guy <gregory-tde@laposte.net>2021-03-11 15:04:46 +0100
commit70defe5e6d9498c5c6011eee50c4dc506abebd61 (patch)
treec2d269ffeaf389637607efa6547ff8eb2d41cd45 /kommander/executor
parent4c43d1fbb66a296958ed1d0dbddf3f8ac4466130 (diff)
downloadtdewebdev-70defe5e6d9498c5c6011eee50c4dc506abebd61.tar.gz
tdewebdev-70defe5e6d9498c5c6011eee50c4dc506abebd61.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 <slavek.banko@axis.cz>
Diffstat (limited to 'kommander/executor')
-rw-r--r--kommander/executor/instance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kommander/executor/instance.cpp b/kommander/executor/instance.cpp
index e23a206a..6dbb1a10 100644
--- a/kommander/executor/instance.cpp
+++ b/kommander/executor/instance.cpp
@@ -606,7 +606,7 @@ void Instance::setGlobal(const TQString& variableName, const TQString& value)
TQObject* Instance::stringToWidget(const TQString& name)
{
- return m_instance->child(name);
+ return m_instance->child(name.utf8());
}
KommanderWidget* Instance::kommanderWidget(TQObject* object)