diff options
| author | Emmanuel Pescosta <[email protected]> | 2015-04-27 13:41:57 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2015-04-29 15:41:13 +0200 |
| commit | 44ac6bd5f8b1a99666a430f9d2d6d0027e8d123f (patch) | |
| tree | dd4e2611cd817de6945ff4a57eb7753354486d55 | |
| parent | 7550ef029988626ba6249f1de90e2a42e7a9f632 (diff) | |
Use KPropertiesDialog::showDialog(urls) in DBusInterface::ShowItemProperties
instead of showing a new properties dialog for each url.
REVIEW: 123524
| -rw-r--r-- | src/dbusinterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbusinterface.cpp b/src/dbusinterface.cpp index b12347607..366fa9950 100644 --- a/src/dbusinterface.cpp +++ b/src/dbusinterface.cpp @@ -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); } } |
