Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6df58960 authored by Laurent Montel's avatar Laurent Montel 😁

Minor optimization

parent 4876bf9e
......@@ -137,7 +137,7 @@ namespace {
htmlStr += endRow;
}
if ( tnefatts.count() > 0 ) {
if ( !tnefatts.isEmpty() ) {
htmlStr += startRow;
}
writer->queue( htmlStr );
......@@ -162,7 +162,7 @@ namespace {
QLatin1String("</a></div><br/>") );
}
if ( tnefatts.count() > 0 ) {
if ( !tnefatts.isEmpty() ) {
writer->queue( endRow );
}
writer->queue( QLatin1String("</table>") );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment