<table><tr><td style="">rthomsen created this revision.<br />rthomsen added reviewers: elvisangelaccio, nhiga.<br />rthomsen added a project: Ark.<br />Herald added subscribers: Ark, kde-utils-devel.<br />rthomsen requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20683">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently, we use the first entry in an archive to determine which columns to show. If the first entry happens to be a directory, then all relevant columns might not be shown. See bug <a href="https://bugs.kde.org/show_bug.cgi?id=406135" class="remarkup-link" target="_blank" rel="noreferrer">406135</a>.</p>

<p>This diff makes sure we always check the first file entry for columns to show.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Open archive test_3.zip in the bug and verify that the CRC column is shown.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R36 Ark</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20683">https://phabricator.kde.org/D20683</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>part/archivemodel.cpp<br />
part/archivemodel.h</div></div></div><br /><div><strong>To: </strong>rthomsen, elvisangelaccio, nhiga<br /><strong>Cc: </strong>kde-utils-devel, Ark, tctara<br /></div>