Fix 'format not a string literal' error.

pull/1/head
Darrell Anderson 12 years ago
parent 3e72121ffc
commit be6a4360dd

@ -173,7 +173,7 @@ void DocumentCatalog::queryChanged()
if(files.count() > 0)
{
newStatus |= S_HasResults;
if(files.count() > 1 || files.at(0)->className() == "Directory")
if(files.count() > 1 || ( strcmp(files.at(0)->className(), "Directory") == 0 ) )
newStatus |= S_Multiple;
} else
newStatus |= S_NoResults;

Loading…
Cancel
Save