aboutsummaryrefslogtreecommitdiff
path: root/example/example_4_ibbTransferTarget/ibbTransferTarget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'example/example_4_ibbTransferTarget/ibbTransferTarget.cpp')
-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);
}