mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-05 16:19:10 +00:00
Use KPropertiesDialog::showDialog(urls) in DBusInterface::ShowItemProperties
instead of showing a new properties dialog for each url. REVIEW: 123524
This commit is contained in:
parent
7550ef0299
commit
44ac6bd5f8
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue