diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-09-05 20:37:05 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-09-06 00:46:56 +0200 |
| commit | 5f813f8a4bbe1e075daad7b3933829044befffb4 (patch) | |
| tree | 20102aa665b03cfb6dfe0c6ece94938320b6430e /examples/example_3_transferHandling/example_3_transferHandling.cpp | |
| parent | 4c60b13e0b8011e4e0b093a690e939f3b23e2436 (diff) | |
Reformat code
Diffstat (limited to 'examples/example_3_transferHandling/example_3_transferHandling.cpp')
| -rw-r--r-- | examples/example_3_transferHandling/example_3_transferHandling.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/example_3_transferHandling/example_3_transferHandling.cpp b/examples/example_3_transferHandling/example_3_transferHandling.cpp index bf93956e..7b1aded3 100644 --- a/examples/example_3_transferHandling/example_3_transferHandling.cpp +++ b/examples/example_3_transferHandling/example_3_transferHandling.cpp @@ -84,8 +84,9 @@ void xmppClient::slotPresenceReceived(const QXmppPresence &presence) // do nothing if (m_recipient.isEmpty() || QXmppUtils::jidToBareJid(presence.from()) != m_recipient || - presence.type() != QXmppPresence::Available) + presence.type() != QXmppPresence::Available) { return; + } // send the file and connect to the job's signals QXmppTransferJob *job = transferManager->sendFile(presence.from(), ":/example_3_transferHandling.cpp", "example source code"); |
