Hello community,

here is the log from the commit of package qimgv for openSUSE:Factory checked 
in at 2019-08-28 18:36:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qimgv (Old)
 and      /work/SRC/openSUSE:Factory/.qimgv.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qimgv"

Wed Aug 28 18:36:04 2019 rev:8 rq:726580 version:0.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/qimgv/qimgv.changes      2019-08-27 
10:26:02.435920476 +0200
+++ /work/SRC/openSUSE:Factory/.qimgv.new.7948/qimgv.changes    2019-08-28 
18:36:06.021277255 +0200
@@ -1,0 +2,6 @@
+Tue Aug 27 18:01:53 UTC 2019 - Luigi Baldoni <[email protected]>
+
+- Update to version 0.8.2
+  *  Fix new shortcuts not working when you update from 0.7.x
+
+-------------------------------------------------------------------

Old:
----
  qimgv-0.8.1.tar.gz

New:
----
  qimgv-0.8.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qimgv.spec ++++++
--- /var/tmp/diff_new_pack.gZmxXJ/_old  2019-08-28 18:36:06.625277150 +0200
+++ /var/tmp/diff_new_pack.gZmxXJ/_new  2019-08-28 18:36:06.625277150 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           qimgv
-Version:        0.8.1
+Version:        0.8.2
 Release:        0
 Summary:        Qt5 image viewer
 License:        GPL-3.0-only

++++++ qimgv-0.8.1.tar.gz -> qimgv-0.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qimgv-0.8.1/qimgv/appversion.cpp 
new/qimgv-0.8.2/qimgv/appversion.cpp
--- old/qimgv-0.8.1/qimgv/appversion.cpp        2019-08-26 14:24:04.000000000 
+0200
+++ new/qimgv-0.8.2/qimgv/appversion.cpp        2019-08-27 19:04:42.000000000 
+0200
@@ -1,3 +1,3 @@
 #include "appversion.h"
 
-QVersionNumber appVersion(0,8,1);
+QVersionNumber appVersion(0,8,2);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qimgv-0.8.1/qimgv/core.cpp 
new/qimgv-0.8.2/qimgv/core.cpp
--- old/qimgv-0.8.1/qimgv/core.cpp      2019-08-26 14:24:04.000000000 +0200
+++ new/qimgv-0.8.2/qimgv/core.cpp      2019-08-27 19:04:42.000000000 +0200
@@ -24,13 +24,10 @@
     connect(settings, SIGNAL(settingsChanged()), this, SLOT(readSettings()));
 
     QVersionNumber lastVersion = settings->lastVersion();
-    // If we get (0,0,0) then it is a new install; no need to run update logic.
-    // There shouldn't be any weirdness if you update 0.6.3 -> 0.7
-    // In addition there is a firstRun flag.
-    if(appVersion > lastVersion && lastVersion != QVersionNumber(0,0,0))
-        onUpdate();
     if(settings->firstRun())
         onFirstRun();
+    else if(appVersion > lastVersion)
+        onUpdate();
 }
 
 void Core::readSettings() {
@@ -164,6 +161,7 @@
     //mw->showSomeSortOfWelcomeScreen();
     mw->showMessage("Welcome to qimgv version " + appVersion.toString() + "!", 
4000);
     settings->setFirstRun(false);
+    settings->setLastVersion(appVersion);
 }
 
 void Core::rotateLeft() {


Reply via email to