|
|
@ -173,7 +173,7 @@ void DocumentCatalog::queryChanged()
|
|
|
|
if(files.count() > 0)
|
|
|
|
if(files.count() > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
newStatus |= S_HasResults;
|
|
|
|
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;
|
|
|
|
newStatus |= S_Multiple;
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
newStatus |= S_NoResults;
|
|
|
|
newStatus |= S_NoResults;
|
|
|
|