From 369d8455ac39aa9f5328b855bd5f456e3f384a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 7 Mar 2021 20:24:08 +0100 Subject: Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 70defe5e6d9498c5c6011eee50c4dc506abebd61) --- kommander/executor/instance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kommander/executor/instance.cpp') 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) -- cgit v1.2.1