┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2019-09-14 09:40:09 +0200
committerLaurent Montel <[email protected]>2019-09-14 09:40:09 +0200
commitda83e8cbdb0354f359bdf08d610693665989c9f1 (patch)
tree3d1806239ffb1714d9b6b40a8fe1703cf8cba449 /src/dolphinmainwindow.cpp
parent7165ea7afdf150600025f9c8ec28dadfe0b28406 (diff)
Use directly "isEmpty()"
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index ec42d33f7..32ac0e0fd 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -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 {