From 470eee047583c9bb12c2c9014c7e9c86de71cef9 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Tue, 02 Jul 2002 12:12:16 +0000 Subject: added user message for non existing file --- 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 { -- cgit v0.9.0.2