author | bipolar <bipolar> | 2002-03-09 03:09:15 (UTC) |
---|---|---|
committer | bipolar <bipolar> | 2002-03-09 03:09:15 (UTC) |
commit | cb1d684a68565ff70fedd184eedf1ef4f2b71079 (patch) (unidiff) | |
tree | 51dc13c1eaa2408b6e753de751bcb7ac2d02f7e8 /core | |
parent | bc79d3f4a7503c4298a5396b80c65a3e268f4be3 (diff) | |
download | opie-cb1d684a68565ff70fedd184eedf1ef4f2b71079.zip opie-cb1d684a68565ff70fedd184eedf1ef4f2b71079.tar.gz opie-cb1d684a68565ff70fedd184eedf1ef4f2b71079.tar.bz2 |
ljp: hopefully took care of doclnk creating zero size files, while maintaining what was going on.
-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 | |||
@@ -761,6 +761,6 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data) | |||
761 | e << contents; | 761 | e << contents; |
762 | 762 | ||
763 | //qDebug( "================ \n\n%s\n\n===============", | 763 | qDebug( "================ \n\n%s\n\n===============", |
764 | //contents.latin1() ); | 764 | contents.latin1() ); |
765 | 765 | ||
766 | delete docsFolder; | 766 | delete docsFolder; |
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 | |||
@@ -393,6 +393,5 @@ bool LauncherIconView::removeLink(const QString& linkfile) | |||
393 | while (item) { | 393 | while (item) { |
394 | l = item->appLnk(); | 394 | l = item->appLnk(); |
395 | if ( l->linkFileKnown() && l->linkFile() == linkfile || l->file() == linkfile | 395 | if ( l->linkFileKnown() && l->linkFile() == linkfile/* || l->file() == linkfile || dl.isValid() && dl.file() == l->file()*/ ) { |
396 | || dl.isValid() && dl.file() == l->file() ) { | ||
397 | delete item; | 396 | delete item; |
398 | did = TRUE; | 397 | did = TRUE; |
@@ -403,7 +402,5 @@ bool LauncherIconView::removeLink(const QString& linkfile) | |||
403 | while ((l=it.current())) { | 402 | while ((l=it.current())) { |
404 | ++it; | 403 | ++it; |
405 | if ( l->linkFileKnown() && l->linkFile() == linkfile | 404 | if ( l->linkFileKnown() && l->linkFile() == linkfile/* || l->file() == linkfile || dl.isValid() && dl.file() == l->file()*/ ) { |
406 | || l->file() == linkfile | ||
407 | || dl.isValid() && dl.file() == l->file() ) { | ||
408 | hidden.removeRef(l); | 405 | hidden.removeRef(l); |
409 | did = TRUE; | 406 | did = TRUE; |