diff --git a/src/widgets/kpropertiesdialog.cpp b/src/widgets/kpropertiesdialog.cpp --- a/src/widgets/kpropertiesdialog.cpp +++ b/src/widgets/kpropertiesdialog.cpp @@ -895,6 +895,11 @@ } } + if (isLocal && hasRoot) { + filename = KIO::decodeFileName(url.path()); + properties->setWindowTitle(i18n("Properties for %1", filename)); + } + d->oldName = filename; } else { // Multiple items: see what they have in common