-rw-r--r-- | core/launcher/launcher.cpp | 4 | ||||
-rw-r--r-- | core/launcher/launcherview.cpp | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index 0573330..8fe41f7 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -760,8 +760,8 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data) QCopEnvelope e( "QPE/Desktop", "docLinks(QString)" ); e << contents; - //qDebug( "================ \n\n%s\n\n===============", - //contents.latin1() ); + qDebug( "================ \n\n%s\n\n===============", + contents.latin1() ); delete docsFolder; docsFolder = 0; diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp index 764f088..538ad79 100644 --- a/core/launcher/launcherview.cpp +++ b/core/launcher/launcherview.cpp @@ -392,8 +392,7 @@ bool LauncherIconView::removeLink(const QString& linkfile) DocLnk dl(linkfile); while (item) { l = item->appLnk(); - if ( l->linkFileKnown() && l->linkFile() == linkfile || l->file() == linkfile - || dl.isValid() && dl.file() == l->file() ) { + if ( l->linkFileKnown() && l->linkFile() == linkfile/* || l->file() == linkfile || dl.isValid() && dl.file() == l->file()*/ ) { delete item; did = TRUE; } @@ -402,9 +401,7 @@ bool LauncherIconView::removeLink(const QString& linkfile) QListIterator<AppLnk> it(hidden); while ((l=it.current())) { ++it; - if ( l->linkFileKnown() && l->linkFile() == linkfile - || l->file() == linkfile - || dl.isValid() && dl.file() == l->file() ) { + if ( l->linkFileKnown() && l->linkFile() == linkfile/* || l->file() == linkfile || dl.isValid() && dl.file() == l->file()*/ ) { hidden.removeRef(l); did = TRUE; } |