Index: sources/gui/guicontroller.cpp =================================================================== diff -u -rfeb3423b373dc2a2c4267ef9fcb4d924d738423d -re1605219ac2baf49ef21d0889f845ac53d59c3c1 --- sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision feb3423b373dc2a2c4267ef9fcb4d924d738423d) +++ sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision e1605219ac2baf49ef21d0889f845ac53d59c3c1) @@ -23,9 +23,6 @@ // namespace using namespace Gui; -// Singleton -SINGLETON_INIT(GuiController) - /*! * \brief GuiController Constructor * \param parent @@ -38,14 +35,14 @@ void GuiController::initConnections() { // From HD/DG - connect(_ApplicationController, SIGNAL(didActionReceive (GuiActionType, const QVariantList &)), - this , SLOT( onActionReceive (GuiActionType, const QVariantList &))); + connect(&_ApplicationController, SIGNAL(didActionReceive (GuiActionType, const QVariantList &)), + this , SLOT( onActionReceive (GuiActionType, const QVariantList &))); // From OS : USB Drive has been removed physically. - connect(_ApplicationController, SIGNAL(didUSBDriveMount ()), - this , SLOT( onUSBDriveMount ())); - connect(_ApplicationController, SIGNAL(didUSBDriveRemove()), - this , SLOT( onUSBDriveRemove())); + connect(&_ApplicationController, SIGNAL(didUSBDriveMount ()), + this , SLOT( onUSBDriveMount ())); + connect(&_ApplicationController, SIGNAL(didUSBDriveRemove()), + this , SLOT( onUSBDriveRemove())); } /*! @@ -55,7 +52,6 @@ { initConnections(); LOG_EVENT(QObject::tr("Gui Controller Initialized")); - } /*!