Bug#676419: problematic line

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#676419: problematic line

Carsten Pfeiffer
The problematic line is obviously this:

if ( mysqldPath.isEmpty() || mysqldPath.compare( QLatin1String(
"SERVERCMD_MYSQL-NOTFOUND" ) ))

The result of the compare() function should either be checked for being 0, or,
one should simply use operator==

Thanks,
Carsten



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel