diff options
| author | Laurent Montel <[email protected]> | 2018-11-30 06:57:48 +0100 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2018-11-30 06:58:22 +0100 |
| commit | f390818050c36b94fe4443068b1044646c9c0ff1 (patch) | |
| tree | 1adf4b27affab1b8d157b891e9783c3358d80661 /src/panels/information/informationpanel.cpp | |
| parent | 84f4b1fe07ad1070ea9192b53a864997cbbaa0e2 (diff) | |
Use isEmpty() here
Diffstat (limited to 'src/panels/information/informationpanel.cpp')
| -rw-r--r-- | src/panels/information/informationpanel.cpp | 2 |
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(); } |
