summaryrefslogtreecommitdiffstats
path: root/src/ktechlab.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-11-02 22:33:43 +0100
committerSlávek Banko <[email protected]>2020-11-02 22:33:47 +0100
commit2c73ccdf45212ab2a43582955be0eff21c70f971 (patch)
tree4754dd610c96338dc39ca60e38a7e794ef6c6966 /src/ktechlab.cpp
parentf23df438132393cf20cb93f9922325dc49792573 (diff)
downloadktechlab-2c73ccdf45212ab2a43582955be0eff21c70f971.tar.gz
ktechlab-2c73ccdf45212ab2a43582955be0eff21c70f971.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]>
Diffstat (limited to 'src/ktechlab.cpp')
-rw-r--r--src/ktechlab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ktechlab.cpp b/src/ktechlab.cpp
index e0294e1..ff35a0e 100644
--- a/src/ktechlab.cpp
+++ b/src/ktechlab.cpp
@@ -592,7 +592,7 @@ void KTechlab::slotDragContextActivated( int id )
TDEAction * KTechlab::action( const TQString & name ) const
{
- TDEAction * action = actionCollection()->action(name);
+ TDEAction * action = actionCollection()->action(name.utf8());
if ( !action )
kdError() << k_funcinfo << "No such action: " << name << endl;
return action;