Hello community,

here is the log from the commit of package kalzium for openSUSE:Factory checked 
in at 2015-01-21 22:08:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kalzium (Old)
 and      /work/SRC/openSUSE:Factory/.kalzium.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kalzium"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kalzium/kalzium.changes  2015-01-08 
23:16:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kalzium.new/kalzium.changes     2015-01-21 
22:09:05.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Jan 12 19:43:14 UTC 2015 - [email protected]
+
+- Update to KDE Applications 14.12.1
+   * KDE Applications 14.12.1
+   * See https://www.kde.org/announcements/announce-applications-14.12.1.php
+
+-------------------------------------------------------------------

Old:
----
  kalzium-14.12.0.tar.xz

New:
----
  kalzium-14.12.1.tar.xz

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

Other differences:
------------------
++++++ kalzium.spec ++++++
--- /var/tmp/diff_new_pack.82uA8o/_old  2015-01-21 22:09:06.000000000 +0100
+++ /var/tmp/diff_new_pack.82uA8o/_new  2015-01-21 22:09:06.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kalzium
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           kalzium
-Version:        14.12.0
+Version:        14.12.1
 Release:        0
 Summary:        Periodic Table of Elements
 License:        GPL-2.0+

++++++ kalzium-14.12.0.tar.xz -> kalzium-14.12.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalzium-14.12.0/src/legendwidget.cpp 
new/kalzium-14.12.1/src/legendwidget.cpp
--- old/kalzium-14.12.0/src/legendwidget.cpp    2014-11-28 06:42:16.000000000 
+0100
+++ new/kalzium-14.12.1/src/legendwidget.cpp    2015-01-02 17:39:32.000000000 
+0100
@@ -156,9 +156,15 @@
     KalziumElementProperty *elementProperty = 
KalziumElementProperty::instance();
 
     for (int element = 1; element <= 118; ++element) {
-        if (elementProperty->getBorderColor(element).operator==(color) ||
+        if(Prefs::colorgradientbox() == KalziumElementProperty::NOGRADIENT){
+            if (elementProperty->getElementColor(element).operator!=(color)) {
+                emit elementMatched(element);
+            }
+        }else{
+            if (elementProperty->getBorderColor(element).operator==(color) ||
                 elementProperty->getElementColor(element).operator==(color)) {
-            emit elementMatched(element);
+                emit elementMatched(element);
+            }
         }
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalzium-14.12.0/src/psetable/elementitem.cpp 
new/kalzium-14.12.1/src/psetable/elementitem.cpp
--- old/kalzium-14.12.0/src/psetable/elementitem.cpp    2014-11-28 
06:42:16.000000000 +0100
+++ new/kalzium-14.12.1/src/psetable/elementitem.cpp    2015-01-02 
17:39:32.000000000 +0100
@@ -81,7 +81,7 @@
 
     if (isSelected()) {
         QColor selectedBackgroundColor = m_borderColor;
-        selectedBackgroundColor.setAlpha(120);
+        selectedBackgroundColor.setAlpha(160);
         painter->setBrush(QBrush(QColor(selectedBackgroundColor)));
         painter->drawRoundedRect(boundingRect(), m_width / 10, m_width / 10);
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalzium-14.12.0/src/psetable/periodictableview.cpp 
new/kalzium-14.12.1/src/psetable/periodictableview.cpp
--- old/kalzium-14.12.0/src/psetable/periodictableview.cpp      2014-11-28 
06:42:16.000000000 +0100
+++ new/kalzium-14.12.1/src/psetable/periodictableview.cpp      2015-01-02 
17:39:32.000000000 +0100
@@ -27,6 +27,7 @@
 
 #include "psetables.h"
 #include <prefs.h>
+#include<QTimer>
 
 PeriodicTableView::PeriodicTableView(QWidget *parent)
         : QGraphicsView(parent)
@@ -99,6 +100,8 @@
 
     setBiggerSceneRect();
     m_tableStates->setTableState(m_currentTableInex);
+
+    QTimer::singleShot(RESIZE_SCENE_TIMEOUT, this, SLOT(fitPseInView()));
 }
 
 void PeriodicTableView::slotSelectOneElement(int element)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalzium-14.12.0/src/psetable/periodictableview.h 
new/kalzium-14.12.1/src/psetable/periodictableview.h
--- old/kalzium-14.12.0/src/psetable/periodictableview.h        2014-11-28 
06:42:16.000000000 +0100
+++ new/kalzium-14.12.1/src/psetable/periodictableview.h        2015-01-02 
17:39:32.000000000 +0100
@@ -114,6 +114,7 @@
     void setBiggerSceneRect();
 
     int m_currentTableInex;
+    static int const RESIZE_SCENE_TIMEOUT = 2200;
 
     PeriodicTableScene *m_tableScene;
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to