summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorChris Bessent <lost.dragonist@gmail.com>2020-01-12 14:35:40 -0700
committerChris Bessent <lost.dragonist@gmail.com>2020-01-12 14:35:40 -0700
commit6c6734fcf4f724e0e700cbce137d8b8f50da1e68 (patch)
treee747cb46e397028de443fe2bcb6a9e0c932d1624 /src/settings.cpp
parent9fc7a1bf8530e76f4300d495400bba8a67ab45b1 (diff)
Set version for new instances
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 5170a5de..eff68aca 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -93,6 +93,7 @@ void Settings::processUpdates(
const QVersionNumber& currentVersion, const QVersionNumber& lastVersion)
{
if (firstStart()) {
+ set(m_Settings, "General", "version", currentVersion.toString());
return;
}