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

List:       kde-commits
Subject:    branches/KDE/4.3/kdeutils/ark/kerfuffle
From:       Raphael Kubo da Costa <kubito () gmail ! com>
Date:       2009-07-30 16:05:56
Message-ID: 1248969956.266148.15264.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1004623 by rkcosta:

Backport r1003372.

Only change the destination folder if the new one is valid.


 M  +2 -1      batchextract.cpp  


--- branches/KDE/4.3/kdeutils/ark/kerfuffle/batchextract.cpp #1004622:1004623
@@ -212,8 +212,9 @@
 
 void BatchExtract::setDestinationFolder(QString folder)
 {
-    if (!folder.isEmpty())
+    if (QFileInfo(folder).isDir()) {
         m_destinationFolder = folder;
+    }
 }
 
 void BatchExtract::setOpenDestinationAfterExtraction(bool value)
[prev in list] [next in list] [prev in thread] [next in thread] 

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