summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Keller <rainer.keller@nokia.com>2011-08-17 09:59:19 +0200
committerRainer Keller <rainer.keller@nokia.com>2011-08-17 10:11:42 +0200
commitcc238603bbc34cb3298fcd663c1a7c9895828583 (patch)
treea13b679811eb33d96525b90b803b14f6c6892004
parentf1cc6e767f6fd44eb3f20c43e760768083a93b0c (diff)
Notifiy about unregistered application after removing widget from list
Task-number: QTSIM-202 Reviewed-by: ckamm
-rw-r--r--src/other/applicationmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other/applicationmanager.cpp b/src/other/applicationmanager.cpp
index 711cfc3..3b45b2e 100644
--- a/src/other/applicationmanager.cpp
+++ b/src/other/applicationmanager.cpp
@@ -133,7 +133,6 @@ void ApplicationManager::registerApplication(Application *newApp)
void ApplicationManager::unregisterApplication(int id)
{
- emit applicationUnRegistered(id);
for (int i = 0; i < mApps.size(); ++i) {
if (mApps.at(i)->id() == id) {
Application* item = mApps.takeAt(i);
@@ -150,6 +149,7 @@ void ApplicationManager::unregisterApplication(int id)
break;
}
}
+ emit applicationUnRegistered(id);
if (mApps.isEmpty()) {
emit lastAppUnregistered();
}