┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-11-30 06:57:48 +0100
committerLaurent Montel <[email protected]>2018-11-30 06:58:22 +0100
commitf390818050c36b94fe4443068b1044646c9c0ff1 (patch)
tree1adf4b27affab1b8d157b891e9783c3358d80661
parent84f4b1fe07ad1070ea9192b53a864997cbbaa0e2 (diff)
Use isEmpty() here
-rw-r--r--src/panels/information/informationpanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/information/informationpanel.cpp b/src/panels/information/informationpanel.cpp
index 042849b25..1ec2696e3 100644
--- a/src/panels/information/informationpanel.cpp
+++ b/src/panels/information/informationpanel.cpp
@@ -91,7 +91,7 @@ void InformationPanel::requestDelayedItemInfo(const KFileItem& item)
if (item.isNull()) {
// The cursor is above the viewport. If files are selected,
// show information regarding the selection.
- if (m_selection.size() > 0) {
+ if (!m_selection.isEmpty()) {
m_fileItem = KFileItem();
m_infoTimer->start();
}