Commit f3908180 authored by Laurent Montel's avatar Laurent Montel 😁

Use isEmpty() here

parent 84f4b1fe
......@@ -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();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment