syncqt: remove unnecessary check for not empty string

The previous if checks it.

Change-Id: I03321da3d6886e1788ad48433d451a5cc643f8dd
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Maxime Roussin-Bélanger 2022-11-03 22:19:14 -04:00
parent 65c1b12f9f
commit f0178e83d4

View File

@ -303,7 +303,7 @@ private:
if (arg.empty())
continue;
if (arg.size() > 0 && arg[0] == '-') {
if (arg[0] == '-') {
currentValue = nullptr;
currentListValue = nullptr;
{