[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [krita] libs/ui: Bigger circles around presets in the popup palette
From:       Sven Langkamp <sven.langkamp () gmail ! com>
Date:       2016-01-31 15:10:11
Message-ID: E1aPtdj-0000K4-HS () scm ! kde ! org
[Download RAW message or body]

Git commit ed5d856a8e30d3832ed3d20e9f6cd41ed2065452 by Sven Langkamp.
Committed on 31/01/2016 at 15:09.
Pushed by langkamp into branch 'master'.

Bigger circles around presets in the popup palette

M  +3    -0    libs/ui/kis_popup_palette.cpp

http://commits.kde.org/krita/ed5d856a8e30d3832ed3d20e9f6cd41ed2065452

diff --git a/libs/ui/kis_popup_palette.cpp b/libs/ui/kis_popup_palette.cpp
index 63c2c6f..bd4bfef 100644
--- a/libs/ui/kis_popup_palette.cpp
+++ b/libs/ui/kis_popup_palette.cpp
@@ -305,6 +305,9 @@ void KisPopupPalette::paintEvent(QPaintEvent* e)
         else {
             painter.fillPath(path, palette().brush(QPalette::Window));     
         }
+        QPen pen = painter.pen();
+        pen.setWidth(3);
+        painter.setPen(pen);
         painter.drawPath(path);
         
         painter.restore();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic