Use QString::isEmpty here
This commit is contained in:
@@ -84,7 +84,7 @@ int KWebShortcutModel::rowCount(const QModelIndex &parent) const
|
|||||||
{
|
{
|
||||||
Q_UNUSED(parent);
|
Q_UNUSED(parent);
|
||||||
#ifdef HAVE_KIO
|
#ifdef HAVE_KIO
|
||||||
if (d->selectedText.count() > 0) {
|
if (!d->selectedText.isEmpty()) {
|
||||||
return d->searchProviders.count();
|
return d->searchProviders.count();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user