// no set is enabled. Probably this is the first time running trice
if(!sets.getEnabledSetsNum())
{
sets.guessSortKeys();
sets.sortByKey();
sets.enableAll();
db->emitCardListChanged();
actEditSets();
return;
}
intnumUnknownSets=sets.getUnknownSetsNum();
// no unkown sets.
if(!numUnknownSets)
return;
intret=QMessageBox::question(this,tr("New sets found"),tr("%1 new set(s) have been found in the card database. Do you want to enable them?").arg(numUnknownSets),QMessageBox::Yes|QMessageBox::No|QMessageBox::Cancel,QMessageBox::Yes);