homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hspreviewhswidgetstate.cpp
changeset 97 66b5fe3c07fd
parent 90 3ac3aaebaee5
--- a/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hspreviewhswidgetstate.cpp	Mon Sep 27 11:52:00 2010 +0300
+++ b/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hspreviewhswidgetstate.cpp	Wed Oct 06 16:06:24 2010 +0300
@@ -128,7 +128,7 @@
                 SLOT(addToHomeScreen()));
 
         connect(dialogController.data(),
-                SIGNAL(dialogCompleted()),
+                SIGNAL(rejectActionTriggered(QAction*)),
                 this,
                 SIGNAL(exit()));
 
@@ -169,6 +169,7 @@
         notificationDialog->setAttribute(Qt::WA_DeleteOnClose);
         notificationDialog->setTitle(hbTrId("txt_applib_dpophead_added_to_homescreen"));
         notificationDialog->show();
+        emit exit();
     }
     else {
         showMessageWidgetCorrupted();