From 75d05bd59ad8ef389a8e3ff787450baf641d0892 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 21:43:13 +0000 Subject: Fix kdenetwork FTBFS on Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1238106 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/protocols/yahoo/libkyahoo/sendfiletask.cpp | 2 +- kopete/protocols/yahoo/libkyahoo/sendpicturetask.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kopete') diff --git a/kopete/protocols/yahoo/libkyahoo/sendfiletask.cpp b/kopete/protocols/yahoo/libkyahoo/sendfiletask.cpp index b63edcc7..06c9e395 100644 --- a/kopete/protocols/yahoo/libkyahoo/sendfiletask.cpp +++ b/kopete/protocols/yahoo/libkyahoo/sendfiletask.cpp @@ -205,7 +205,7 @@ void SendFileTask::connectSucceeded() } else { - kdDebug(YAHOO_RAW_DEBUG) << k_funcinfo << "Error opening file: " << m_file.errorString().ascii() << endl; + kdDebug(YAHOO_RAW_DEBUG) << k_funcinfo << "Error opening file: " << TQString(m_file.errorString()).ascii() << endl; client()->notifyError( i18n( "An error occurred while sending the file." ), m_file.errorString(), Client::Error ); setError(); return; diff --git a/kopete/protocols/yahoo/libkyahoo/sendpicturetask.cpp b/kopete/protocols/yahoo/libkyahoo/sendpicturetask.cpp index 36998612..1b24b860 100644 --- a/kopete/protocols/yahoo/libkyahoo/sendpicturetask.cpp +++ b/kopete/protocols/yahoo/libkyahoo/sendpicturetask.cpp @@ -104,7 +104,7 @@ void SendPictureTask::connectSucceeded() } else { - kdDebug(YAHOO_RAW_DEBUG) << "Error opening file: " << file.errorString().ascii() << endl; + kdDebug(YAHOO_RAW_DEBUG) << "Error opening file: " << TQString(file.errorString()).ascii() << endl; client()->notifyError(i18n("Error opening file: %1").tqarg(m_path), file.errorString(), Client::Error ); return; } -- cgit v1.2.1