summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 6764338..fc944e1 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -875,14 +875,24 @@ void Launcher::properties( AppLnk *appLnk )
}
void Launcher::updateLink(const QString& link)
{
- if (link.isNull())
+ bool notify_sm = false;
+
+ if (link.isNull()) {
updateTabs();
- else if (link.isEmpty())
+ notify_sm = true;
+ }
+ else if (link.isEmpty()) {
updateDocs();
- else
+ }
+ else {
tabs->updateLink(link);
+ notify_sm = true;
+ }
+
+ if ( notify_sm )
+ QCopEnvelope e ( "QPE/TaskBar", "reloadApps()" );
}
void Launcher::systemMessage( const QCString &msg, const QByteArray &data)
{