[Oracle] Correct size and only do this if the user has not set a non-default url.

This commit is contained in:
Brübach, Lukas
2025-12-03 10:44:40 +01:00
parent ec98bcf95d
commit d4bf40694a

View File

@@ -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"),