Skip to content
Permalink
Browse files

Better check for QString::isEmpty() than for length() == 0

Not that it really makes any difference ...
  • Loading branch information
elpaso committed Jan 6, 2019
1 parent c6b0ae0 commit f6c7cdb4c8ba1cfa505cd0220b1be2c67b79604e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsconfigureshortcutsdialog.cpp
@@ -83,7 +83,7 @@ void QgsConfigureShortcutsDialog::populateActions()
continue;
}

if ( actionText.length() == 0 )
if ( actionText.isEmpty() )
{
continue;
}

0 comments on commit f6c7cdb

Please sign in to comment.
You can’t perform that action at this time.