summaryrefslogtreecommitdiff
path: root/library/lnkproperties.cpp
authorllornkcor <llornkcor>2002-07-02 12:12:16 (UTC)
committer llornkcor <llornkcor>2002-07-02 12:12:16 (UTC)
commit470eee047583c9bb12c2c9014c7e9c86de71cef9 (patch) (unidiff)
tree31548a1d31946ea33e27935f70ed04f6de99f06e /library/lnkproperties.cpp
parent2ffc9e4a46ec40075e6ee55e4583120e6964168d (diff)
downloadopie-470eee047583c9bb12c2c9014c7e9c86de71cef9.zip
opie-470eee047583c9bb12c2c9014c7e9c86de71cef9.tar.gz
opie-470eee047583c9bb12c2c9014c7e9c86de71cef9.tar.bz2
added user message for non existing file
Diffstat (limited to 'library/lnkproperties.cpp') (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
@@ -130,4 +130,6 @@ void LnkProperties::unlinkLnk()
130 if ( QFile::exists(lnk->file()) ) 130 if ( QFile::exists(lnk->file()) )
131 lnk->removeFiles(); 131 lnk->removeFiles();
132 else
133 QMessageBox::warning( this, tr("Delete"), tr("File does not exist.") );
132 if ( QFile::exists(lnk->file()) ) { 134 if ( QFile::exists(lnk->file()) ) {
133 QMessageBox::warning( this, tr("Delete"), tr("File deletion failed.") ); 135 QMessageBox::warning( this, tr("Delete"), tr("File deletion failed.") );