summaryrefslogtreecommitdiffabout
path: root/microkde
authorzautrix <zautrix>2005-04-02 09:05:01 (UTC)
committer zautrix <zautrix>2005-04-02 09:05:01 (UTC)
commite0d51120d2f0c178115746e0c1357af40f95bc77 (patch) (side-by-side diff)
treea94402a08712553fedd1de5b3c604af777279674 /microkde
parente7cb4c20af8b07bf923c864026481ce316c40e1d (diff)
downloadkdepimpi-e0d51120d2f0c178115746e0c1357af40f95bc77.zip
kdepimpi-e0d51120d2f0c178115746e0c1357af40f95bc77.tar.gz
kdepimpi-e0d51120d2f0c178115746e0c1357af40f95bc77.tar.bz2
fix
Diffstat (limited to 'microkde') (more/less context) (show whitespace changes)
-rw-r--r--microkde/KDGanttMinimizeSplitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/KDGanttMinimizeSplitter.cpp b/microkde/KDGanttMinimizeSplitter.cpp
index 2a30346..fb5d4e3 100644
--- a/microkde/KDGanttMinimizeSplitter.cpp
+++ b/microkde/KDGanttMinimizeSplitter.cpp
@@ -259,33 +259,33 @@ QValueList<QPointArray> KDGanttSplitterHandle::buttonRegions()
list.append( arr );
}
return list;
}
void KDGanttSplitterHandle::paintEvent( QPaintEvent * )
{
QPixmap buffer( size() );
QPainter p( &buffer );
//LR
// Draw the splitter rectangle
p.setBrush( colorGroup().background() );
p.setPen( colorGroup().foreground() );
//p.drawRect( rect() );
#ifndef DESKTOP_VERSION
- if ( mMouseDown )
+ if ( mMouseDown && ! _activeButton)
buffer.fill( colorGroup().background().dark() );
else
#endif
buffer.fill( colorGroup().background() );
//buffer.fill( backgroundColor() );
// parentWidget()->style().drawPrimitive( QStyle::PE_Panel, &p, rect(), parentWidget()->colorGroup());
int sw = 8; // Hardcoded, given I didn't use styles anymore, I didn't like to use their size
// arrow color
QColor col;
if ( _activeButton )
col = colorGroup().background().dark( 250 );
else {
if ( mMouseDown )
col = Qt::white;