Skip to content
GitLab
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
d8a9141f
Commit
d8a9141f
authored
Jun 28, 2009
by
Raphael Kubo da Costa
Browse files
Check if an entry is a directory.
svn path=/trunk/KDE/kdeutils/ark/; revision=988418
parent
fcef9dfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/clizipplugin/cliplugin.cpp
View file @
d8a9141f
...
...
@@ -77,9 +77,6 @@ public:
return
p
;
}
QString
m_entryFilename
,
m_internalId
;
ArchiveEntry
m_currentEntry
;
...
...
@@ -104,6 +101,7 @@ public:
if
(
i
!=
-
1
)
{
ArchiveEntry
e
;
e
[
Permissions
]
=
entryPattern
.
cap
(
1
);
e
[
IsDirectory
]
=
(
entryPattern
.
cap
(
1
).
at
(
0
)
==
'd'
);
e
[
Owner
]
=
entryPattern
.
cap
(
3
);
e
[
Size
]
=
entryPattern
.
cap
(
4
).
toInt
();
QString
status
=
entryPattern
.
cap
(
5
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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