[Digikam-devel] Bug#676419: problematic line

Carsten Pfeiffer gisl at leonde.de
Wed Jun 6 22:41:26 BST 2012


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






More information about the Digikam-devel mailing list