Use KPropertiesDialog::showDialog(urls) in DBusInterface::ShowItemProperties

instead of showing a new properties dialog for each url.

REVIEW: 123524
This commit is contained in:
Emmanuel Pescosta 2015-04-27 13:41:57 +02:00
parent 7550ef0299
commit 44ac6bd5f8

View file

@ -58,7 +58,7 @@ void DBusInterface::ShowItemProperties(const QStringList& uriList, const QString
{
Q_UNUSED(startUpId);
const QList<QUrl> urls = Dolphin::validateUris(uriList);
foreach (const QUrl& url, urls) {
KPropertiesDialog::showDialog(url);
if (!urls.isEmpty()) {
KPropertiesDialog::showDialog(urls);
}
}