Use isEmpty() rather than size() > 0

wilder-portage
Kurt Hindenburg 8 years ago
parent 7f4b89f792
commit aab3056e62
  1. 2
      src/History.cpp

@ -436,7 +436,7 @@ CompactHistoryLine::CompactHistoryLine(const TextLine &line, CompactHistoryBlock
{
_length = line.size();
if (line.size() > 0) {
if (!line.isEmpty()) {
_formatLength = 1;
int k = 1;

Loading…
Cancel
Save