aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/socketspy/SocketSpyWindow.cpp
diff options
context:
space:
mode:
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)