diff options
Diffstat (limited to 'kopete/plugins/translator/translatorplugin.cpp')
-rw-r--r-- | kopete/plugins/translator/translatorplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/plugins/translator/translatorplugin.cpp b/kopete/plugins/translator/translatorplugin.cpp index 223d1d70..d5102bb9 100644 --- a/kopete/plugins/translator/translatorplugin.cpp +++ b/kopete/plugins/translator/translatorplugin.cpp @@ -278,7 +278,7 @@ TQString TranslatorPlugin::googleTranslateMessage( const TQString &msg, const TQ TQObject::connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, TQT_SLOT( slotDataReceived( TDEIO::Job *, const TQByteArray & ) ) ); TQObject::connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotJobDone( TDEIO::Job * ) ) ); - // KIO is async and we use a sync API, so use the processEvents hack to work around that + // TDEIO is async and we use a sync API, so use the processEvents hack to work around that // FIXME: We need to make the libkopete API async to get rid of this processEvents. // It often causes crashes in the code. - Martijn while ( !m_completed[ job ] ) @@ -314,7 +314,7 @@ TQString TranslatorPlugin::babelTranslateMessage( const TQString &msg, const TQS TQObject::connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, TQT_SLOT( slotDataReceived( TDEIO::Job *, const TQByteArray & ) ) ); TQObject::connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotJobDone( TDEIO::Job * ) ) ); - // KIO is async and we use a sync API, so use the processEvents hack to work around that + // TDEIO is async and we use a sync API, so use the processEvents hack to work around that // FIXME: We need to make the libkopete API async to get rid of this processEvents. // It often causes crashes in the code. - Martijn while ( !m_completed[ job ] ) |