summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/iconview.cpp
Unidiff
Diffstat (limited to 'noncore/graphics/opie-eye/gui/iconview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/iconview.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp
index 138e661..b2443e8 100644
--- a/noncore/graphics/opie-eye/gui/iconview.cpp
+++ b/noncore/graphics/opie-eye/gui/iconview.cpp
@@ -6,2 +6,3 @@
6#include "iconview.h" 6#include "iconview.h"
7#include "messagebox.h"
7 8
@@ -379,9 +380,8 @@ void PIconView::slotTrash() {
379 QString pa = currentFileName( isDir ); 380 QString pa = currentFileName( isDir );
380 if ( isDir && pa.isEmpty() ) 381 if ( isDir || pa.isEmpty() )
381 return; 382 return;
382 383
383 if (!QPEMessageBox::confirmDelete( this, 384 if (!OMessageBox::confirmDelete( this, tr("the Image"),
384 tr("Delete Image" ), 385 pa, tr("Delete Image" )))
385 tr("the Image %1" ).arg(pa))) 386 return;
386 return
387 387
@@ -432,5 +432,2 @@ void PIconView::polish()
432{ 432{
433 odebug << "===\n"
434 << "PIconView::polish()\n"
435 << "====" << oendl;
436 QVBox::polish(); 433 QVBox::polish();