diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-17 20:55:51 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-17 20:55:51 +0200 |
| commit | 237e65ba4bbc008d020bb212c7368eec1ae2372e (patch) | |
| tree | 0c017c40942ec794485183002801c757c50f1775 /examples/example_3_transferHandling/example_3_transferHandling.cpp | |
| parent | 33056a200b1cf044201fd37d694197eea315bb26 (diff) | |
| download | qxmpp-237e65ba4bbc008d020bb212c7368eec1ae2372e.tar.gz | |
embed file to send
Diffstat (limited to 'examples/example_3_transferHandling/example_3_transferHandling.cpp')
| -rw-r--r-- | examples/example_3_transferHandling/example_3_transferHandling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example_3_transferHandling/example_3_transferHandling.cpp b/examples/example_3_transferHandling/example_3_transferHandling.cpp index 55936cba..80fb60dc 100644 --- a/examples/example_3_transferHandling/example_3_transferHandling.cpp +++ b/examples/example_3_transferHandling/example_3_transferHandling.cpp @@ -119,7 +119,7 @@ void xmppClient::slotPresenceReceived(const QXmppPresence &presence) return; // send the file and connect to the job's signals - QXmppTransferJob *job = transferManager->sendFile(presence.from(), "xmppClient.cpp"); + QXmppTransferJob *job = transferManager->sendFile(presence.from(), ":/example_3_transferHandling.cpp"); check = connect(job, SIGNAL(error(QXmppTransferJob::Error)), this, SLOT(slotError(QXmppTransferJob::Error))); |
