aboutsummaryrefslogtreecommitdiff
path: root/example/example_4_ibbTransferTarget
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-03-08 08:08:07 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-03-08 08:08:07 +0000
commitf123cb3997c0a12b00580dd2458bb3b308721486 (patch)
tree2a4b68842cf18caf01480b542a67c32c8c318f82 /example/example_4_ibbTransferTarget
parent243abde41ba8cff3173013005a16098f524d2429 (diff)
downloadqxmpp-f123cb3997c0a12b00580dd2458bb3b308721486.tar.gz
suppress unused variable warning
Diffstat (limited to 'example/example_4_ibbTransferTarget')
-rw-r--r--example/example_4_ibbTransferTarget/ibbTransferTarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/example_4_ibbTransferTarget/ibbTransferTarget.cpp b/example/example_4_ibbTransferTarget/ibbTransferTarget.cpp
index 4aed152b..a7f507c7 100644
--- a/example/example_4_ibbTransferTarget/ibbTransferTarget.cpp
+++ b/example/example_4_ibbTransferTarget/ibbTransferTarget.cpp
@@ -37,6 +37,7 @@ IbbTransferTarget::IbbTransferTarget(QObject *parent)
bool check = connect(&getTransferManager(), SIGNAL(fileReceived(QXmppTransferJob*)),
this, SLOT(slotFileReceived(QXmppTransferJob*)));
Q_ASSERT(check);
+ Q_UNUSED(check);
getTransferManager().setSupportedMethods(QXmppTransferJob::InBandMethod);
}