Account for the case when the only selected file is a directory.
author Raphael Kubo da Costa
()
committer Raphael Kubo da Costa
()
commit c25ff39b48de661b2f64d0211e7e000cec89335d
tree 8aea5aed394e919026bfd3bd54615fe2a7aebca0
parent 6421226f30fdcbcdcaf379041a1e9eaeb5c02bb6
Account for the case when the only selected file is a directory.

So far we were only calling QFileInfo::baseName(), which returned an
empty string for directories.

BUG: 279862
FIXED-IN: 4.7.1

svn path=/branches/KDE/4.7/kdeutils/ark/; revision=1246402
kerfuffle/adddialog.cpp