Hello community,

here is the log from the commit of package kolourpaint for openSUSE:Factory 
checked in at 2012-03-13 09:34:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kolourpaint (Old)
 and      /work/SRC/openSUSE:Factory/.kolourpaint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kolourpaint", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kolourpaint/kolourpaint.changes  2012-01-27 
15:21:15.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kolourpaint.new/kolourpaint.changes     
2012-03-13 09:34:43.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Mar  2 23:22:41 CET 2012 - [email protected]
+
+- update to 4.8.1
+  * see http://kde.org/announcements/changelogs/changelog4_8_0to4_8_1.php for 
details
+
+-------------------------------------------------------------------

Old:
----
  kolourpaint-4.8.0.tar.bz2

New:
----
  kolourpaint-4.8.1.tar.bz2

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

Other differences:
------------------
++++++ kolourpaint.spec ++++++
--- /var/tmp/diff_new_pack.DIfdCh/_old  2012-03-13 09:34:44.000000000 +0100
+++ /var/tmp/diff_new_pack.DIfdCh/_new  2012-03-13 09:34:44.000000000 +0100
@@ -15,8 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           kolourpaint
-Version:        4.8.0
+Version:        4.8.1
 Release:        0
 # See bnc#717722 for license details
 Summary:        Paint Program

++++++ kolourpaint-4.8.0.tar.bz2 -> kolourpaint-4.8.1.tar.bz2 ++++++
Files old/kolourpaint-4.8.0/doc/index.cache.bz2 and 
new/kolourpaint-4.8.1/doc/index.cache.bz2 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kolourpaint-4.8.0/imagelib/kpFloodFill.cpp 
new/kolourpaint-4.8.1/imagelib/kpFloodFill.cpp
--- old/kolourpaint-4.8.0/imagelib/kpFloodFill.cpp      2011-09-26 
11:46:04.000000000 +0200
+++ new/kolourpaint-4.8.1/imagelib/kpFloodFill.cpp      2012-02-29 
23:57:17.000000000 +0100
@@ -384,11 +384,11 @@
 
 //---------------------------------------------------------------------
 // public
-void kpFloodFill::fill ()
+void kpFloodFill::fill()
 {
     prepare();
 
-    QApplication::setOverrideCursor (Qt::WaitCursor);
+    QApplication::setOverrideCursor(Qt::WaitCursor);
 
     QPainter painter(d->imagePtr);
 
@@ -401,13 +401,13 @@
 
     foreach (const kpFillLine &l, d->fillLines)
     {
-        const QPoint p1 (l.m_x1, l.m_y);
-        const QPoint p2 (l.m_x2, l.m_y);
-
-        painter.drawLine (p1, p2);
+      if ( l.m_x1 == l.m_x2 )
+        painter.drawPoint(l.m_x1, l.m_y);
+      else
+        painter.drawLine(l.m_x1, l.m_y, l.m_x2, l.m_y);
     }
 
-    QApplication::restoreOverrideCursor ();
+    QApplication::restoreOverrideCursor();
 }
 
 //---------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kolourpaint-4.8.0/tools/selection/kpAbstractSelectionTool_Create.cpp 
new/kolourpaint-4.8.1/tools/selection/kpAbstractSelectionTool_Create.cpp
--- old/kolourpaint-4.8.0/tools/selection/kpAbstractSelectionTool_Create.cpp    
2011-07-27 20:42:13.000000000 +0200
+++ new/kolourpaint-4.8.1/tools/selection/kpAbstractSelectionTool_Create.cpp    
2012-02-29 23:57:17.000000000 +0100
@@ -92,11 +92,36 @@
 }
 
 //---------------------------------------------------------------------
+// use a crosshair cursor which is really always exactly 1 pixel wide
+// to the contrary of the "themed" crosshair cursors which might look nice
+// but does not allow to exactly position the hot-spot.
+/* XPM */
+static const char *crosshair[]={
+"17 17 2 1",
+". c None",
+"# c #000000",
+"........#........",
+"........#........",
+"........#........",
+"........#........",
+"........#........",
+"........#........",
+"........#........",
+"........#........",
+"########.########",
+"........#........",
+"........#........",
+"........#........",
+"........#........",
+"........#........",
+"........#........",
+"........#........",
+"........#........"};
 
 // private
 void kpAbstractSelectionTool::setCursorCreate ()
 {
-    viewManager ()->setCursor (Qt::ArrowCursor);
+    viewManager()->setCursor(QCursor(QPixmap(crosshair), 8, 8));
 }
 
 //---------------------------------------------------------------------

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

Reply via email to