GloSC-Config: Workaround a version fuckup

It's dirty...
experimental
Peter Repukat 6 years ago
parent 20e3e4ac70
commit 1283fdbfc4

@ -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();
}
}

@ -59,7 +59,7 @@ private:
QList<UWPPair> 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;

Loading…
Cancel
Save