From 1283fdbfc4e96b3515891191e43163e771438169 Mon Sep 17 00:00:00 2001 From: Peter Repukat Date: Sun, 15 Apr 2018 15:23:44 +0200 Subject: [PATCH] GloSC-Config: Workaround a version fuckup It's dirty... --- GloSC/GloSC.cpp | 2 +- GloSC/GloSC.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GloSC/GloSC.cpp b/GloSC/GloSC.cpp index 5afbd9e..2af0130 100644 --- a/GloSC/GloSC.cpp +++ b/GloSC/GloSC.cpp @@ -98,7 +98,7 @@ void GloSC::updateTargetsToNewVersion() const unsigned int version = settings.value("version").toInt(); settings.endGroup(); - if (version < GLOSC_VERSION) + if (version < GLOSC_VERSION || version >= 0x500) on_pbSave_clicked(); } } diff --git a/GloSC/GloSC.h b/GloSC/GloSC.h index 21f2950..e697c3f 100644 --- a/GloSC/GloSC.h +++ b/GloSC/GloSC.h @@ -59,7 +59,7 @@ private: QList uwp_pairs_; - constexpr static const unsigned int GLOSC_VERSION = 0x00000201; //Version Number in as bytes, just remove the dots. + constexpr static const unsigned int GLOSC_VERSION = 0x00000202; //Version Number in as bytes, just remove the dots. int wide_x_ = 711; int small_x_ = 302;