diff options
author | Slávek Banko <[email protected]> | 2020-11-02 22:33:43 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-11-02 22:33:47 +0100 |
commit | 2c73ccdf45212ab2a43582955be0eff21c70f971 (patch) | |
tree | 4754dd610c96338dc39ca60e38a7e794ef6c6966 /src/ktechlab.cpp | |
parent | f23df438132393cf20cb93f9922325dc49792573 (diff) | |
download | ktechlab-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.cpp | 2 |
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; |