]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.cpp
We depend against 5.61 which depends against qt 5.11
[dolphin.git] / src / dolphinmainwindow.cpp
index ec42d33f71adc50ad699ce7300b8e24c4f91cb00..32ac0e0fdcc234537bb0d1da4f4a9612b76593ba 100644 (file)
@@ -359,7 +359,7 @@ void DolphinMainWindow::addToPlaces()
     QString name;
 
     // If nothing is selected, act on the current dir
-    if (m_activeViewContainer->view()->selectedItems().count() == 0) {
+    if (m_activeViewContainer->view()->selectedItems().isEmpty()) {
         url = m_activeViewContainer->url();
         name = m_activeViewContainer->placesText();
     } else {