aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/torrent/tc_ktorrentdcopinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/torrent/tc_ktorrentdcopinterface.cpp')
-rw-r--r--src/modules/torrent/tc_ktorrentdcopinterface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/torrent/tc_ktorrentdcopinterface.cpp b/src/modules/torrent/tc_ktorrentdcopinterface.cpp
index 98cfcd594..187e4ac0d 100644
--- a/src/modules/torrent/tc_ktorrentdcopinterface.cpp
+++ b/src/modules/torrent/tc_ktorrentdcopinterface.cpp
@@ -46,12 +46,12 @@
)
#define ERROR_MSG \
- QCString msg; \
+ QString szMsg; \
if (!findRunningApp(m_szAppId)) \
- msg = "KTorrent's isn't running!"; \
+ szMsg = "KTorrent's isn't running!"; \
else \
- msg = "Something's wrong here! KTorrent's DCOP interface has probably changed."; \
- m_lastError = __tr2qs_ctx(QString(msg), "torrent"); \
+ szMsg = "Something's wrong here! KTorrent's DCOP interface has probably changed."; \
+ m_lastError = __tr2qs_ctx(szMsg,"torrent"); \
debug("%s (%s:%d): %s", __PRETTY_FUNCTION__, __FILE__, __LINE__, (const char*)msg); \
#define ERROR_MSG_RANGE(I, SIZE) \