From: Laurent Montel Date: Fri, 30 Nov 2018 05:57:48 +0000 (+0100) Subject: Use isEmpty() here X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/f390818050c36b94fe4443068b1044646c9c0ff1?ds=sidebyside Use isEmpty() here --- 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(); }