ahmadsamir created this revision. ahmadsamir added reviewers: Frameworks, dfaure, meven, sitter, broulik. Herald added a project: Frameworks. ahmadsamir requested review of this revision.
REVISION SUMMARY For trash:/ we have two individual cases: - trash:/ itself, show empty/full trash icon - trash:/file and trash:/folder/, show icon for the file mimetype or inode/directory respectively Less if nesting by using a ternary. This fixes the testtrash unit test. Extend kfileitemtest to test all cases. TEST PLAN make && ctest REPOSITORY R241 KIO BRANCH l-trash-stuff (branched from master) REVISION DETAIL https://phabricator.kde.org/D27864 AFFECTED FILES autotests/kfileitemtest.cpp src/core/global.cpp To: ahmadsamir, #frameworks, dfaure, meven, sitter, broulik Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
