summaryrefslogtreecommitdiffabout
path: root/microkde/KDGanttMinimizeSplitter.cpp
Side-by-side diff
Diffstat (limited to 'microkde/KDGanttMinimizeSplitter.cpp') (more/less context) (show whitespace changes)
-rw-r--r--microkde/KDGanttMinimizeSplitter.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/microkde/KDGanttMinimizeSplitter.cpp b/microkde/KDGanttMinimizeSplitter.cpp
index 6cb1f31..253175e 100644
--- a/microkde/KDGanttMinimizeSplitter.cpp
+++ b/microkde/KDGanttMinimizeSplitter.cpp
@@ -270,8 +270,13 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * )
// Draw the splitter rectangle
p.setBrush( colorGroup().background() );
p.setPen( colorGroup().foreground() );
//p.drawRect( rect() );
+#ifndef DESKTOP_VERSION
+ if ( mMouseDown )
+ buffer.fill( QColor( 242,27,255 ) );
+ else
+#endif
buffer.fill( colorGroup().background() );
//buffer.fill( backgroundColor() );
// parentWidget()->style().drawPrimitive( QStyle::PE_Panel, &p, rect(), parentWidget()->colorGroup());
@@ -282,9 +287,13 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * )
if ( _activeButton )
col = colorGroup().background().dark( 250 );
else {
if ( mMouseDown )
+#ifndef DESKTOP_VERSION
+ col = QColor( 178,18,188);//QColor( 242,27,255 );//Qt::white;
+#else
col = Qt::white;
+#endif
else
col = colorGroup().background().dark( 150 );
}
//QColor col = backgroundColor().dark( 130 );