Hello community, here is the log from the commit of package kolourpaint for openSUSE:Factory checked in at 2013-07-30 16:03:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kolourpaint (Old) and /work/SRC/openSUSE:Factory/.kolourpaint.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kolourpaint" Changes: -------- --- /work/SRC/openSUSE:Factory/kolourpaint/kolourpaint.changes 2013-07-22 17:17:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kolourpaint.new/kolourpaint.changes 2013-07-30 16:03:15.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Jul 25 23:11:00 UTC 2013 - hrvoje.sen...@gmail.com + +- Update to 4.10.97 + * KDE 4.11 RC 2 release + * See http://www.kde.org/announcements/announce-4.11-rc2.php + +------------------------------------------------------------------- Old: ---- kolourpaint-4.10.95.tar.xz New: ---- kolourpaint-4.10.97.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kolourpaint.spec ++++++ --- /var/tmp/diff_new_pack.yKMGSc/_old 2013-07-30 16:03:16.000000000 +0200 +++ /var/tmp/diff_new_pack.yKMGSc/_new 2013-07-30 16:03:16.000000000 +0200 @@ -17,7 +17,7 @@ Name: kolourpaint -Version: 4.10.95 +Version: 4.10.97 Release: 0 # See bnc#717722 for license details Summary: Paint Program ++++++ kolourpaint-4.10.95.tar.xz -> kolourpaint-4.10.97.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kolourpaint-4.10.95/kolourpaint.desktop new/kolourpaint-4.10.97/kolourpaint.desktop --- old/kolourpaint-4.10.95/kolourpaint.desktop 2013-07-10 01:14:21.000000000 +0200 +++ new/kolourpaint-4.10.97/kolourpaint.desktop 2013-07-23 11:01:05.000000000 +0200 @@ -129,7 +129,7 @@ GenericName[se]=Málenprográmma GenericName[si]=පින්තාරු වැඩසටහන GenericName[sk]=Kresliaci program -GenericName[sl]=Slikarski program +GenericName[sl]=Program za risanje GenericName[sr]=Програм за сликање GenericName[sr@ijekavian]=Програм за сликање GenericName[sr@ijekavianlatin]=Program za slikanje diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kolourpaint-4.10.95/views/kpView.h new/kolourpaint-4.10.97/views/kpView.h --- old/kolourpaint-4.10.95/views/kpView.h 2013-07-10 01:14:21.000000000 +0200 +++ new/kolourpaint-4.10.97/views/kpView.h 2013-07-23 11:01:05.000000000 +0200 @@ -578,8 +578,6 @@ // <destPixmap> is the part of the document given by <docRect>. void paintEventDrawSelection (QImage *destPixmap, const QRect &docRect); - bool selectionResizeHandleAtomicSizeCloseToZoomLevel () const; - // Draws the parts of the selection's resize handles that are inside // <clipRect> onto the view void paintEventDrawSelectionResizeHandles (const QRect &clipRect); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kolourpaint-4.10.95/views/kpView_Paint.cpp new/kolourpaint-4.10.97/views/kpView_Paint.cpp --- old/kolourpaint-4.10.95/views/kpView_Paint.cpp 2013-07-10 01:14:21.000000000 +0200 +++ new/kolourpaint-4.10.97/views/kpView_Paint.cpp 2013-07-23 11:01:05.000000000 +0200 @@ -287,14 +287,6 @@ //--------------------------------------------------------------------- // protected -bool kpView::selectionResizeHandleAtomicSizeCloseToZoomLevel () const -{ - return (abs (selectionResizeHandleAtomicSize () - zoomLevelX () / 100) < 3); -} - -//--------------------------------------------------------------------- - -// protected void kpView::paintEventDrawSelectionResizeHandles (const QRect &clipRect) { #if DEBUG_KP_VIEW_RENDERER && 1 @@ -338,27 +330,12 @@ << selResizeHandlesRegion << endl; #endif - const bool doXor = !selectionResizeHandleAtomicSizeCloseToZoomLevel (); - foreach (const QRect &r, selResizeHandlesRegion.rects ()) - { - QRect s = r.intersect (clipRect); - if (s.isEmpty ()) - continue; + QPainter painter(this); + painter.setPen(Qt::black); + painter.setBrush(Qt::cyan); - if (doXor) - { - kpPixmapFX::widgetFillXORRect (this, - s.x (), s.y (), s.width (), s.height (), - kpColor::White/*XOR color*/, - kpColor::Aqua/*1st hint color if XOR not supported*/, - kpColor::Red/*2nd hint color if XOR not supported*/); - } - else - { - QPainter p (this); - p.fillRect (s, Qt::cyan); - } - } + foreach (const QRect &r, selResizeHandlesRegion.rects()) + painter.drawRect(r); } //--------------------------------------------------------------------- @@ -677,7 +654,6 @@ #endif } - const QRect bvsvRect = buddyViewScrollableContainerRectangle (); if (!bvsvRect.isEmpty ()) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kolourpaint-4.10.95/views/kpView_Selections.cpp new/kolourpaint-4.10.97/views/kpView_Selections.cpp --- old/kolourpaint-4.10.95/views/kpView_Selections.cpp 2013-07-10 01:14:21.000000000 +0200 +++ new/kolourpaint-4.10.97/views/kpView_Selections.cpp 2013-07-23 11:01:05.000000000 +0200 @@ -126,7 +126,7 @@ // public int kpView::selectionResizeHandleAtomicSize () const { - int atomicSize = qMin (7, qMax (4, zoomLevelX () / 100)); + int atomicSize = qMin (13, qMax (9, zoomLevelX () / 100)); while (atomicSize > 0 && !selectionLargeEnoughToHaveResizeHandlesIfAtomicSize (atomicSize)) { -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org