Skip to content

Commit f6c7cdb

Browse files
committedJan 6, 2019
Better check for QString::isEmpty() than for length() == 0
Not that it really makes any difference ...
1 parent c6b0ae0 commit f6c7cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/qgsconfigureshortcutsdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void QgsConfigureShortcutsDialog::populateActions()
8383
continue;
8484
}
8585

86-
if ( actionText.length() == 0 )
86+
if ( actionText.isEmpty() )
8787
{
8888
continue;
8989
}

0 commit comments

Comments
 (0)
Please sign in to comment.