Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jan Paul Batrina
Ark
Commits
10a58ca2
Commit
10a58ca2
authored
Jun 12, 2009
by
Raphael Kubo da Costa
Browse files
Do not follow . and ..
svn path=/trunk/KDE/kdeutils/ark/; revision=980560
parent
587907db
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/libarchive/libarchivehandler.cpp
View file @
10a58ca2
...
...
@@ -402,7 +402,7 @@ bool LibArchiveInterface::addFiles( const QStringList & files, const Compression
return
false
;
if
(
QFileInfo
(
selectedFile
).
isDir
())
{
QDirIterator
it
(
selectedFile
,
QDir
::
AllEntries
|
QDir
::
Readable
|
QDir
::
Hidden
,
QDirIterator
::
Subdirectories
);
QDirIterator
it
(
selectedFile
,
QDir
::
AllEntries
|
QDir
::
Readable
|
QDir
::
Hidden
|
QDir
::
NoDotAndDotDot
,
QDirIterator
::
Subdirectories
);
while
(
it
.
hasNext
())
{
QString
path
=
it
.
next
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment