From f390818050c36b94fe4443068b1044646c9c0ff1 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 30 Nov 2018 06:57:48 +0100 Subject: [PATCH] Use isEmpty() here --- src/panels/information/informationpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.47.3