diff --git a/src/models/webshortcutmodel.cpp b/src/models/webshortcutmodel.cpp index 606f0f833..ce9391a64 100644 --- a/src/models/webshortcutmodel.cpp +++ b/src/models/webshortcutmodel.cpp @@ -84,7 +84,7 @@ int KWebShortcutModel::rowCount(const QModelIndex &parent) const { Q_UNUSED(parent); #ifdef HAVE_KIO - if (d->selectedText.count() > 0) { + if (!d->selectedText.isEmpty()) { return d->searchProviders.count(); } #endif