mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kutils: remove unused constants
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3556eede0f
commit
631ae6a32a
1 changed files with 0 additions and 2 deletions
|
@ -742,7 +742,6 @@ bool KArchive::remove(const QStringList &paths) const
|
|||
QStringList recursivepaths;
|
||||
foreach (const QString &path, paths) {
|
||||
if (path.endsWith(QLatin1Char('/')) || S_ISDIR(KArchive::entry(path).mode)) {
|
||||
const QByteArray pathbytes = QFile::encodeName(path);
|
||||
foreach (const KArchiveEntry &karchiveentry, KArchive::list(path)) {
|
||||
recursivepaths.append(QFile::decodeName(karchiveentry.pathname));
|
||||
}
|
||||
|
@ -869,7 +868,6 @@ bool KArchive::extract(const QStringList &paths, const QString &destination, con
|
|||
QStringList recursivepaths;
|
||||
foreach (const QString &path, paths) {
|
||||
if (path.endsWith(QLatin1Char('/')) || S_ISDIR(KArchive::entry(path).mode)) {
|
||||
const QByteArray pathbytes = QFile::encodeName(path);
|
||||
foreach (const KArchiveEntry &karchiveentry, KArchive::list(path)) {
|
||||
recursivepaths.append(QFile::decodeName(karchiveentry.pathname));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue