From: robertl Date: Sun, 27 Jun 2010 18:28:16 +0000 (+0000) Subject: Tweak version check for 1.4.0 X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~960 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ae7f587aea051e02450d401fed7dc0a04fba4189;p=gpsbabel.git Tweak version check for 1.4.0 --- diff --git a/gpsbabel/gui/preferences.cpp b/gpsbabel/gui/preferences.cpp index 5366420e9..3c57f448d 100644 --- a/gpsbabel/gui/preferences.cpp +++ b/gpsbabel/gui/preferences.cpp @@ -41,6 +41,9 @@ Preferences::Preferences(QWidget* parent, QList& formatList, ui_.startupCheck->setChecked(bd_.startupVersionCheck); ui_.reportStatisticsCheck->setChecked(bd_.reportStatistics); ui_.ignoreVersionMismatchCheck->setChecked(bd_.ignoreVersionMismatch); + // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1. + if (VERSION == "1.4.1") + bd_.ignoreVersionMismatch = false; connect (ui_.buttonBox, SIGNAL(accepted()), this, SLOT(acceptClicked())); connect (ui_.buttonBox, SIGNAL(rejected()), this, SLOT(rejectClicked()));