diff options
Diffstat (limited to 'plugins/src/inputmethods')
-rw-r--r-- | plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp | 4 | ||||
-rw-r--r-- | plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp index 24259bd09..2d971691e 100644 --- a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp +++ b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp @@ -61,8 +61,8 @@ TQMultiInputContext::TQMultiInputContext() keyDict.setAutoDelete( true ); keyDict.clear(); - if ( getenv( "QT_IM_MODULE" ) ) { - currentIMKey = getenv( "QT_IM_MODULE" ); + if ( getenv( "TQT_IM_MODULE" ) ) { + currentIMKey = getenv( "TQT_IM_MODULE" ); } else { #ifndef TQT_NO_IM_EXTENSIONS TQSettings settings; diff --git a/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp b/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp index f4d8e59ff..b42f126e0 100644 --- a/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp +++ b/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp @@ -70,8 +70,8 @@ TQInputContext *TQNoneInputContextPlugin::create( const TQString &key ) if ( ! isIMSwitcher ) return 0; - if ( getenv( "QT_IM_MODULE" ) ) { - actuallySpecifiedKey = getenv( "QT_IM_MODULE" ); + if ( getenv( "TQT_IM_MODULE" ) ) { + actuallySpecifiedKey = getenv( "TQT_IM_MODULE" ); } else { TQSettings settings; actuallySpecifiedKey = settings.readEntry( "/qt/DefaultInputMethod", "xim" ); |