summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/lnkproperties.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp
index bd43e21..e8baca6 100644
--- a/library/lnkproperties.cpp
+++ b/library/lnkproperties.cpp
@@ -129,6 +129,8 @@ void LnkProperties::unlinkLnk()
if ( QPEMessageBox::confirmDelete( this, tr("Delete"), lnk->name() ) ) {
if ( QFile::exists(lnk->file()) )
lnk->removeFiles();
+ else
+ QMessageBox::warning( this, tr("Delete"), tr("File does not exist.") );
if ( QFile::exists(lnk->file()) ) {
QMessageBox::warning( this, tr("Delete"), tr("File deletion failed.") );
} else {