aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/socketspy/SocketSpyWindow.cpp
diff options
context:
space:
mode:
authorGravatar Elvio Basello2011-01-10 18:36:59 +0000
committerGravatar Elvio Basello2011-01-10 18:36:59 +0000
commit78735b180c2ba56fa1cf4fd578726d457626e80a (patch)
tree12b359e1e59b7585dc89878e2eeae54982baa4e1 /src/modules/socketspy/SocketSpyWindow.cpp
parentupdated perlcore's xs include, hopefully fixing #1068 (diff)
downloadKVIrc-78735b180c2ba56fa1cf4fd578726d457626e80a.tar.gz
KVIrc-78735b180c2ba56fa1cf4fd578726d457626e80a.tar.bz2
KVIrc-78735b180c2ba56fa1cf4fd578726d457626e80a.zip
killed some QString helpers. Pay attention to the localizations: format strings have changed!;
updated translation files; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5328 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/socketspy/SocketSpyWindow.cpp')
-rw-r--r--src/modules/socketspy/SocketSpyWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/socketspy/SocketSpyWindow.cpp b/src/modules/socketspy/SocketSpyWindow.cpp
index 1c62d949c..b0a8ad251 100644
--- a/src/modules/socketspy/SocketSpyWindow.cpp
+++ b/src/modules/socketspy/SocketSpyWindow.cpp
@@ -77,7 +77,7 @@ void SocketSpyWindow::getBaseLogFileName(QString &buffer)
void SocketSpyWindow::fillCaptionBuffers()
{
- KviQString::sprintf(m_szPlainTextCaption,__tr2qs("Socket Spy [IRC Context %u]"),m_pConsole->context()->id());
+ m_szPlainTextCaption = QString(__tr2qs("Socket Spy [IRC Context %1]")).arg(m_pConsole->context()->id());
}
bool SocketSpyWindow::incomingMessage(const char * message)