forked from pool/breeze
Accepting request 437004 from home:wolfi323:test
- Update add-support-for-Q3ListView-to-the-KDE4-style.patch to fix some graphical glitches (boo#1005902) Sync to KDE:Frameworks5:LTS... OBS-URL: https://build.opensuse.org/request/show/437004 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/breeze?expand=0&rev=130
This commit is contained in:
parent
e3d1098bbd
commit
9af993bf9c
@ -1,5 +1,5 @@
|
||||
diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp
|
||||
index 8a02d75..359d1ab 100644
|
||||
index 8a02d75..c1b9670 100644
|
||||
--- a/kstyle/breezestyle.cpp
|
||||
+++ b/kstyle/breezestyle.cpp
|
||||
@@ -929,6 +929,7 @@ namespace Breeze
|
||||
@ -10,7 +10,7 @@ index 8a02d75..359d1ab 100644
|
||||
case CC_Slider: fcn = &Style::drawSliderComplexControl; break;
|
||||
case CC_Dial: fcn = &Style::drawDialComplexControl; break;
|
||||
case CC_ScrollBar: fcn = &Style::drawScrollBarComplexControl; break;
|
||||
@@ -6122,6 +6123,63 @@ namespace Breeze
|
||||
@@ -6122,6 +6216,67 @@ namespace Breeze
|
||||
}
|
||||
|
||||
//______________________________________________________________
|
||||
@ -50,7 +50,9 @@ index 8a02d75..359d1ab 100644
|
||||
+ { opt.state |= QStyle::State_Children | ( item.state & QStyle::State_Open ); }
|
||||
+
|
||||
+ opt.rect = QRect( optListView->rect.left(), y, optListView->rect.width(), item.height );
|
||||
+ painter->save();
|
||||
+ drawIndicatorBranchPrimitive( &opt, painter, widget );
|
||||
+ painter->restore();
|
||||
+
|
||||
+ if( ( opt.state & QStyle::State_Sibling ) && item.height < item.totalHeight )
|
||||
+ {
|
||||
@ -58,7 +60,9 @@ index 8a02d75..359d1ab 100644
|
||||
+ opt.rect = QRect(
|
||||
+ optListView->rect.left(), y + item.height,
|
||||
+ optListView->rect.width(), item.totalHeight - item.height );
|
||||
+ painter->save();
|
||||
+ drawIndicatorBranchPrimitive( &opt, painter, widget );
|
||||
+ painter->restore();
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 23 18:02:27 UTC 2016 - wbauer@tmo.at
|
||||
|
||||
- Update add-support-for-Q3ListView-to-the-KDE4-style.patch to fix
|
||||
some graphical glitches (boo#1005902)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 18 15:16:03 UTC 2016 - fabian@ritter-vogt.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user