mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 03:30:44 +00:00
Disable High-Res printing checkbox in preferences for mac (it's permanently forced on)
This commit is contained in:
parent
b5ba3009af
commit
bb66402c21
@ -195,7 +195,14 @@ PreferencesDialog::PreferencesDialog(QWidget *parent,Profile * _profile) :
|
|||||||
ui->skipEmptyDays->setChecked(general["SkipEmptyDays"].value().toBool());
|
ui->skipEmptyDays->setChecked(general["SkipEmptyDays"].value().toBool());
|
||||||
ui->enableMultithreading->setChecked(general["EnableMultithreading"].value().toBool());
|
ui->enableMultithreading->setChecked(general["EnableMultithreading"].value().toBool());
|
||||||
ui->cacheSessionData->setChecked(general["MemoryHog"].value().toBool());
|
ui->cacheSessionData->setChecked(general["MemoryHog"].value().toBool());
|
||||||
|
#ifdef Q_WS_MAC
|
||||||
|
general["HighResPrinting"].setValue(true);
|
||||||
|
ui->highResolutionPrinting->setChecked(true);
|
||||||
|
ui->highResolutionPrinting->setEnabled(false);
|
||||||
|
#else
|
||||||
ui->highResolutionPrinting->setChecked(general["HighResPrinting"].value().toBool());
|
ui->highResolutionPrinting->setChecked(general["HighResPrinting"].value().toBool());
|
||||||
|
#endif
|
||||||
|
|
||||||
ui->graphHeight->setValue(general["GraphHeight"].value().toInt());
|
ui->graphHeight->setValue(general["GraphHeight"].value().toInt());
|
||||||
|
|
||||||
if (!PREF.Exists("Updates_AutoCheck")) PREF["Updates_AutoCheck"]=true;
|
if (!PREF.Exists("Updates_AutoCheck")) PREF["Updates_AutoCheck"]=true;
|
||||||
|
Loading…
Reference in New Issue
Block a user