Index: sources/applicationcontroller.cpp =================================================================== diff -u -reece7acacf84e8cc34b830f6b5ab3f112823a905 -rcbea4224ad67eecc2e7c4c66df9a7db711c72832 --- sources/applicationcontroller.cpp (.../applicationcontroller.cpp) (revision eece7acacf84e8cc34b830f6b5ab3f112823a905) +++ sources/applicationcontroller.cpp (.../applicationcontroller.cpp) (revision cbea4224ad67eecc2e7c4c66df9a7db711c72832) @@ -16,13 +16,12 @@ // Qt // Project -#include "guiglobals.h" #include "maintimer.h" -#include "guicontroller.h" #include "messagedispatcher.h" #include "logger.h" #include "usbwatcher.h" #include "filehandler.h" +#include "guicontroller.h" /*! * \brief ApplicationController::ApplicationController @@ -98,6 +97,9 @@ connect(&_MessageDispatcher, SIGNAL(didActionReceive(GuiActionType, const QVariantList &)), this , SLOT( onActionReceive(GuiActionType, const QVariantList &))); + connect(&_MessageDispatcher, SIGNAL(didFailedTransmit(Sequence)), + this , SLOT(onFailedTransmit(Sequence))); + connect(&_GuiController , SIGNAL(didUSBDriveUmount()), this , SLOT( onUSBDriveUmount())); connect(&_USBWatcher , SIGNAL(didUSBDriveMount ()), @@ -152,6 +154,16 @@ // coco end /*! + * \brief ApplicationController::onFailedTransmit + * Called when we failed to get a response back from the HD + * \param seq - The sequence that failed to send to the HD. + */ +void ApplicationController::onFailedTransmit(Sequence seq) +{ + emit didFailedTransmit(seq); +} + +/*! * \brief Process the requested action * \details Processes the requested action * \param vAction - User requested Action