Skip to content

[kfilewidget] Remove dead code

Nicolas Fella requested to merge work/deadcode into master

filenames is never assigned or modified, only read and cleared. Therefore most of parseSelectedUrls is dead code and the whole function is equivalent to urlList.

filenames has a FIXME that I traced back to unmaintained/kdelibs@911b856c from 2000 [sic!]. It mentiones "re-enabled the hack to support multi-selection, until we have something better". I guess we do now :)

Edited by Nicolas Fella

Merge request reports

Loading