aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/torrent/KTorrentDbusInterface.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2012-12-22 01:53:14 +0000
committerGravatar Szymon Tomasz Stefanek2012-12-22 01:53:14 +0000
commita7572583e8a7f0ed963da2238870170bc3bf12ed (patch)
tree3e82d3b87f446fedd7a01924d8d4f281bdf5b140 /src/modules/torrent/KTorrentDbusInterface.cpp
parentFixed compilation with qt5rc1 (diff)
downloadKVIrc-a7572583e8a7f0ed963da2238870170bc3bf12ed.tar.gz
KVIrc-a7572583e8a7f0ed963da2238870170bc3bf12ed.tar.bz2
KVIrc-a7572583e8a7f0ed963da2238870170bc3bf12ed.zip
Compile and run with Qt5.0. Also add a couple of KVS functions for byte order conversion.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6297 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/torrent/KTorrentDbusInterface.cpp')
-rw-r--r--src/modules/torrent/KTorrentDbusInterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/torrent/KTorrentDbusInterface.cpp b/src/modules/torrent/KTorrentDbusInterface.cpp
index d28b1f95b..ae9d46553 100644
--- a/src/modules/torrent/KTorrentDbusInterface.cpp
+++ b/src/modules/torrent/KTorrentDbusInterface.cpp
@@ -49,7 +49,7 @@
// QTimer *timer = new QTimer(this);
// connect(timer, SIGNAL(timeout()), this, SLOT(slotTimer()));
-// timer->start(250, FALSE);
+// timer->start(250, false);
// make sure we have a list of files,
// otherwise functions dealing would
@@ -96,9 +96,9 @@
if (reply.type() == QDBusMessage::ErrorMessage) { \
QDBusError err = reply; \
qDebug("Error: %s\n%s\n", qPrintable(err.name()), qPrintable(err.message())); \
- return FALSE; \
+ return false; \
} \
- return TRUE;
+ return true;
bool KTorrentDbusInterface::startAll()
{