mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
[Oracle] Correct size and only do this if the user has not set a non-default url.
This commit is contained in:
parent
ec98bcf95d
commit
d4bf40694a
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ void LoadSetsPage::initializePage()
|
||||||
urlLineEdit->setText(wizard()->settings->value("allsetsurl", ALLSETS_URL).toString());
|
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
|
// 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
|
// Ask user whether to switch URL
|
||||||
QMessageBox msgBox(
|
QMessageBox msgBox(
|
||||||
QMessageBox::Question, tr("Low Memory Detected"),
|
QMessageBox::Question, tr("Low Memory Detected"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue