From bb66402c215dd2bc9c09b611687effde6b698163 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 12 Dec 2011 12:58:51 +1000 Subject: [PATCH] Disable High-Res printing checkbox in preferences for mac (it's permanently forced on) --- preferencesdialog.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp index 29e0dfaf..e83b3889 100644 --- a/preferencesdialog.cpp +++ b/preferencesdialog.cpp @@ -195,7 +195,14 @@ PreferencesDialog::PreferencesDialog(QWidget *parent,Profile * _profile) : ui->skipEmptyDays->setChecked(general["SkipEmptyDays"].value().toBool()); ui->enableMultithreading->setChecked(general["EnableMultithreading"].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()); +#endif + ui->graphHeight->setValue(general["GraphHeight"].value().toInt()); if (!PREF.Exists("Updates_AutoCheck")) PREF["Updates_AutoCheck"]=true;