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

List:       kde-commits
Subject:    KDE/kdebase/runtime/kstyles/oxygen
From:       Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date:       2010-02-16 3:59:12
Message-ID: 1266292752.146837.21701.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1090804 by hpereiradacosta:

Added exception in order not to make scrollarea transparent for 
KPIM::TransactionItemView. This is only a workaround until a more robust solution is 
found (if there is any). As a matter of fact, in most cases, the transparent background 
is required to avoid glitches against main window background gradient. 

BUG: 226231
 --This line, and those below, will be ignored--

M    oxygen.cpp


 M  +5 -0      oxygen.cpp  


--- trunk/KDE/kdebase/runtime/kstyles/oxygen/oxygen.cpp #1090803:1090804
@@ -3733,6 +3733,11 @@
 
     if( !scrollArea ) return;
 
+    // HACK: add exception for KPIM transactionItemView, which is an overlay widget
+    // and must have filled background. This is a temporary workaround until a more
+    // robust solution is found.
+    if( scrollArea->inherits( "KPIM::TransactionItemView" ) ) return;
+
     // check frame style and background role
     if( scrollArea->frameShape() != QFrame::NoFrame ) return;
     if( scrollArea->backgroundRole() != QPalette::Window ) return;
[prev in list] [next in list] [prev in thread] [next in thread] 

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