summaryrefslogtreecommitdiffstats
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.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/modules/torrent/tc_ktorrentdcopinterface.cpp b/src/modules/torrent/tc_ktorrentdcopinterface.cpp
index 4d5c72d9..a26074ce 100644
--- a/src/modules/torrent/tc_ktorrentdcopinterface.cpp
+++ b/src/modules/torrent/tc_ktorrentdcopinterface.cpp
@@ -25,16 +25,14 @@
//
//=============================================================================
-#ifdef COMPILE_TDE_SUPPORT
-
-#include "kvi_app.h"
+#include "kvi_settings.h"
-
-#include "dcopclient.h" // <-- this include should be hidden in kvilib
+#ifdef COMPILE_TDE_SUPPORT
#include "tc_ktorrentdcopinterface.h"
+#include "dcopclient.h" // <-- this include should be hidden in kvilib
-
+#include "kvi_app.h"
#include "kvi_locale.h"
#include <tqtimer.h>
@@ -58,8 +56,8 @@ TORR_IMPLEMENT_DESCRIPTOR(
tqDebug("%s (%s:%d): %s", __PRETTY_FUNCTION__, __FILE__, __LINE__, (const char*)msg); \
#define ERROR_MSG_RANGE(I, SIZE) \
- KviTQString::sprintf(m_lastError, __tr2qs_ctx("Index out of range: %d [0-%d]!", "torrent"), I, (SIZE>0)?(SIZE-1):0); \
- tqDebug("%s (%s:%d): Index out of range: %d [0-%d]!", __PRETTY_FUNCTION__ , __FILE__, __LINE__, I, (SIZE>0)?(SIZE-1):0);
+ KviTQString::sprintf(m_lastError, __tr2qs_ctx("Index out of range: %d [0-%ld]!", "torrent"), I, (SIZE>0)?(SIZE-1):0); \
+ tqDebug("%s (%s:%d): Index out of range: %d [0-%ld]!", __PRETTY_FUNCTION__ , __FILE__, __LINE__, I, (SIZE>0)?(SIZE-1):0);
#define ERROR_RET_BOOL \
{ \