QMessageBox::critical(this,tr("Error"),tr("The chosen name conflicts with an existing card or token.\nMake sure to enable the 'token set' in the 'Edit sets...' dialog to display them correctly."));
qDebug()<<"Picture NOT found, download failed, no more sets to try: BAILING OUT (oldset: "<<cardBeingDownloaded.getSetName()<<" card: "<<cardBeingDownloaded.getCard()->getCorrectedName()<<")";
QMessageBox::information(this,tr("Welcome"),tr("Hi! It seems like you're running this version of Cockatrice for the first time.\nAll the sets in the card database have been enabled.\nRead more about changing the set order or disabling specific sets and consequent effects in the \"Edit Sets\" window."));
actEditSets();
}
}
// Method uses to sync docks state with menu items state
QMessageBox::information(this,tr("Welcome"),tr("Hi! It seems like you're running this version of Cockatrice for the first time.\nAll the sets in the card database have been enabled.\nRead more about changing the set order or disabling specific sets and consequent effects in the \"Edit Sets\" window."));
QMessageBox::information(this,tr("Information"),tr("Your client appears to be missing features that the server supports.\nThis usually means that your client version is out of date, please check to see if there is a new client available for download."));
}
voidMainWindow::actOpenCustomFolder()
{
QStringdir=settingsCache->getCustomPicsPath();
#if defined(Q_OS_MAC)
QStringListscriptArgs;
scriptArgs<<QLatin1String("-e");
scriptArgs<<QString::fromLatin1("tell application \"Finder\" to open POSIX file \"%1\"").arg(dir);
scriptArgs<<QLatin1String("-e");
scriptArgs<<QLatin1String("tell application \"Finder\" to activate");
QMessageBox::information(this,tr("Load sets/cards"),tr("The new sets/cards have been added successfully.\nCockatrice will now reload the card database."));