Check value of QFile::{open,flush,write}() when saving messages/attachments
commit395c5db7ebfa14b08c4c80eafa83f4172887b484
authorCaspar Schutijser <caspar@schutijser.com>
Mon, 17 Jun 2013 12:38:07 +0000 (17 14:38 +0200)
committerCaspar Schutijser <caspar@schutijser.com>
Fri, 28 Jun 2013 11:59:57 +0000 (28 13:59 +0200)
treeab3770e7f850223bed86821f0edfbd1a1da5a350
parent37ca90d8985dea643976afdfd12ea8d9ad312bfe
Check value of QFile::{open,flush,write}() when saving messages/attachments

To achieve this, a couple of things happened:
 * At every place where an instance of FileDownloadManager is created,
   the transferError() signal from FileDownloadManager is connected to
   the transferError() signal from MessageView.
 * The transferError() signal from MessageView is connected to the
   slotDownloadTransferError() slot from MainWindow (was
   slotDownloadMessageTransferError() first).

Thanks to Thomas and Jan for their feedback.
src/Gui/AttachmentView.cpp
src/Gui/AttachmentView.h
src/Gui/MessageView.h
src/Gui/PartWidgetFactory.cpp
src/Gui/SimplePartWidget.cpp
src/Gui/SimplePartWidget.h
src/Gui/Window.cpp
src/Gui/Window.h
src/Imap/Network/FileDownloadManager.cpp