Commit d8a9141f authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

Check if an entry is a directory.

svn path=/trunk/KDE/kdeutils/ark/; revision=988418
parent fcef9dfe
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment