mirror of
https://github.com/qgis/QGIS.git
synced 2025-07-14 00:04:06 -04:00
Better check for QString::isEmpty() than for length() == 0
Not that it really makes any difference ...
This commit is contained in:
parent
c6b0ae0aaf
commit
f6c7cdb4c8
@ -83,7 +83,7 @@ void QgsConfigureShortcutsDialog::populateActions()
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( actionText.length() == 0 )
|
||||
if ( actionText.isEmpty() )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user