homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hspreviewhswidgetstate.cpp
equal
deleted
inserted
replaced
126 SIGNAL(acceptActionTriggered(QAction*)), |
126 SIGNAL(acceptActionTriggered(QAction*)), |
127 this, |
127 this, |
128 SLOT(addToHomeScreen())); |
128 SLOT(addToHomeScreen())); |
129 |
129 |
130 connect(dialogController.data(), |
130 connect(dialogController.data(), |
131 SIGNAL(dialogCompleted()), |
131 SIGNAL(rejectActionTriggered(QAction*)), |
132 this, |
132 this, |
133 SIGNAL(exit())); |
133 SIGNAL(exit())); |
134 |
134 |
135 // ensure dialog is dismissed on app key pressed |
135 // ensure dialog is dismissed on app key pressed |
136 connect(this, SIGNAL(exited()), |
136 connect(this, SIGNAL(exited()), |
167 if (success) { |
167 if (success) { |
168 HbNotificationDialog *notificationDialog = new HbNotificationDialog(); |
168 HbNotificationDialog *notificationDialog = new HbNotificationDialog(); |
169 notificationDialog->setAttribute(Qt::WA_DeleteOnClose); |
169 notificationDialog->setAttribute(Qt::WA_DeleteOnClose); |
170 notificationDialog->setTitle(hbTrId("txt_applib_dpophead_added_to_homescreen")); |
170 notificationDialog->setTitle(hbTrId("txt_applib_dpophead_added_to_homescreen")); |
171 notificationDialog->show(); |
171 notificationDialog->show(); |
|
172 emit exit(); |
172 } |
173 } |
173 else { |
174 else { |
174 showMessageWidgetCorrupted(); |
175 showMessageWidgetCorrupted(); |
175 } |
176 } |
176 } |
177 } |