[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-16 22:42:02
Message-ID: 1247784122.607620.25282.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 998109 by rkcosta:
Do not add a file to the input list if it does not exist
M +5 -1 batchextract.cpp
--- branches/KDE/4.3/kdeutils/ark/kerfuffle/batchextract.cpp #998108:998109
@@ -191,9 +191,13 @@
bool BatchExtract::addInput(const KUrl& url)
{
kDebug(1601);
+
Kerfuffle::Archive *archive = Kerfuffle::factory(url.path());
- if (archive == NULL) return false;
+ if ((archive == NULL) || (!QFileInfo(url.path()).exists())) {
+ return false;
+ }
+
m_inputs << archive;
return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic