[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 118244] Ark deletes files even if Canceled!!
From:       Fredrik Edemar <f_edemar () linux ! se>
Date:       2005-12-22 13:20:14
Message-ID: 20051222132014.28427.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=118244         
f_edemar linux se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From f_edemar linux se  2005-12-22 14:20 -------
SVN commit 490602 by fedemar:

Fix bug 118244: "Ark deletes files even if Canceled" + show the files the dialog.
BUG: 118244


 M  +5 -3      arkwidget.cpp  


--- branches/KDE/3.5/kdeutils/ark/arkwidget.cpp #490601:490602
 @ -1242,11 +1242,13  @
     QStringList list = m_fileListView->selectedFilenames();
 
     // ask for confirmation
-    if ( !KMessageBox::warningContinueCancel( this,
+    if ( KMessageBox::warningContinueCancelList( this,
                                               i18n( "Do you really want to delete \
the selected items?" ), +                                              list,
                                               QString::null,
-                                              KStdGuiItem::del() )
-         == KMessageBox::Continue)
+                                              KStdGuiItem::del(),
+                                              "confirmDelete" )
+         != KMessageBox::Continue)
     {
         return;
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic