mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-30 22:51:57 -08:00
[Oracle] Correct size and only do this if the user has not set a non-default url.
This commit is contained in:
@@ -188,7 +188,7 @@ void LoadSetsPage::initializePage()
|
||||
urlLineEdit->setText(wizard()->settings->value("allsetsurl", ALLSETS_URL).toString());
|
||||
|
||||
// Memory check because Oracle parsing fails on systems with less than 4GiB for MTGJsons allPrintings.json
|
||||
if (!SystemMemoryQuerier::hasAtLeastGiB(33)) {
|
||||
if (!SystemMemoryQuerier::hasAtLeastGiB(4) && urlLineEdit->text() == ALLSETS_URL) {
|
||||
// Ask user whether to switch URL
|
||||
QMessageBox msgBox(
|
||||
QMessageBox::Question, tr("Low Memory Detected"),
|
||||
|
||||
Reference in New Issue
Block a user