summaryrefslogtreecommitdiffstats
path: root/src/modules/torrent
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-02-20 23:38:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-02-22 20:26:55 +0900
commita09cecfffd5151adfc50e343c821ed8ebdd1ab87 (patch)
tree41b97f6dfceb7170df01f9d1aa7aeb5e01103e20 /src/modules/torrent
parentc4566646d9e7c8e69c28e445d5006ab1d881df41 (diff)
downloadkvirc-a09cecfffd5151adfc50e343c821ed8ebdd1ab87.tar.gz
kvirc-a09cecfffd5151adfc50e343c821ed8ebdd1ab87.zip
Some generic fixes required for future cmake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/torrent')
-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 \
{ \