diff options
| author | Anton <anton@picapica> | 2016-08-13 22:08:45 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2016-08-13 22:08:45 +0400 |
| commit | b7039a6f5a1cf84b40b16a12b5b97a34c27c9604 (patch) | |
| tree | 167db89babcacc4574260acff3b8af81d4633cf1 /pica-client/filetransfercontroller.cpp | |
| parent | dc932321943129297cd9b32184134b86fb72aa37 (diff) | |
| download | pica-pica-b7039a6f5a1cf84b40b16a12b5b97a34c27c9604.tar.gz pica-pica-b7039a6f5a1cf84b40b16a12b5b97a34c27c9604.zip | |
fixed notification() calls
Diffstat (limited to 'pica-client/filetransfercontroller.cpp')
| -rw-r--r-- | pica-client/filetransfercontroller.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pica-client/filetransfercontroller.cpp b/pica-client/filetransfercontroller.cpp index 87c1c3f..44dba15 100644 --- a/pica-client/filetransfercontroller.cpp +++ b/pica-client/filetransfercontroller.cpp @@ -217,7 +217,7 @@ void FileTransferController::send_file(QByteArray peer_id) if (ftdialogs_out.contains(peer_id)) { - msguirouter->notification(tr("There is already file transfer in progress. Wait until it is finished.")); + msguirouter->notification(tr("There is already file transfer in progress. Wait until it is finished."), true); return; } @@ -230,13 +230,13 @@ void FileTransferController::send_file(QByteArray peer_id) if (!fi.exists()) { - msguirouter->notification(tr("File \"%1\" does not exist.").arg(filepath)); + msguirouter->notification(tr("File \"%1\" does not exist.").arg(filepath), true); return; } if (fi.size() == 0) { - msguirouter->notification(tr("Cannot send empty file.")); + msguirouter->notification(tr("Cannot send empty file."), true); } skynet->SendFile(peer_id, filepath); |
