d="M 6.433227,14.50946 L 23.923767,32 L 6.433227,49.490541 L 14.50946,57.566773 L 32,40.076233 L 49.490541,57.566773 L 57.566773,49.490541 L 40.076233,32 L 57.566773,14.50946 L 49.490541,6.433227 L 32,23.923767 L 14.50946,6.433227 L 6.433227,14.50946 z"
QMessageBox::critical(this,tr("Error"),tr("The path to your card pictures directory is invalid."));
event->ignore();
}else
event->accept();
if(!db->getLoadSuccess())
if(QMessageBox::critical(this,tr("Error"),tr("Your card database is invalid. Would you like to go back and set the correct path?"),QMessageBox::Yes|QMessageBox::No)==QMessageBox::Yes){
event->ignore();
return;
}
if(!QDir(settingsCache->getDeckPath()).exists())
if(QMessageBox::critical(this,tr("Error"),tr("The path to your deck directory is invalid. Would you like to go back and set the correct path?"),QMessageBox::Yes|QMessageBox::No)==QMessageBox::Yes){
event->ignore();
return;
}
if(!QDir(settingsCache->getPicsPath()).exists())
if(QMessageBox::critical(this,tr("Error"),tr("The path to your card pictures directory is invalid. Would you like to go back and set the correct path?"),QMessageBox::Yes|QMessageBox::No)==QMessageBox::Yes){