Diffstat (limited to 'microkde/KDGanttMinimizeSplitter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/KDGanttMinimizeSplitter.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/microkde/KDGanttMinimizeSplitter.cpp b/microkde/KDGanttMinimizeSplitter.cpp index 6cb1f31..253175e 100644 --- a/microkde/KDGanttMinimizeSplitter.cpp +++ b/microkde/KDGanttMinimizeSplitter.cpp | |||
@@ -271,7 +271,12 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * ) | |||
271 | p.setBrush( colorGroup().background() ); | 271 | p.setBrush( colorGroup().background() ); |
272 | p.setPen( colorGroup().foreground() ); | 272 | p.setPen( colorGroup().foreground() ); |
273 | //p.drawRect( rect() ); | 273 | //p.drawRect( rect() ); |
274 | buffer.fill( colorGroup().background() ); | 274 | #ifndef DESKTOP_VERSION |
275 | if ( mMouseDown ) | ||
276 | buffer.fill( QColor( 242,27,255 ) ); | ||
277 | else | ||
278 | #endif | ||
279 | buffer.fill( colorGroup().background() ); | ||
275 | //buffer.fill( backgroundColor() ); | 280 | //buffer.fill( backgroundColor() ); |
276 | // parentWidget()->style().drawPrimitive( QStyle::PE_Panel, &p, rect(), parentWidget()->colorGroup()); | 281 | // parentWidget()->style().drawPrimitive( QStyle::PE_Panel, &p, rect(), parentWidget()->colorGroup()); |
277 | 282 | ||
@@ -283,7 +288,11 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * ) | |||
283 | col = colorGroup().background().dark( 250 ); | 288 | col = colorGroup().background().dark( 250 ); |
284 | else { | 289 | else { |
285 | if ( mMouseDown ) | 290 | if ( mMouseDown ) |
286 | col = Qt::white; | 291 | #ifndef DESKTOP_VERSION |
292 | col = QColor( 178,18,188);//QColor( 242,27,255 );//Qt::white; | ||
293 | #else | ||
294 | col = Qt::white; | ||
295 | #endif | ||
287 | else | 296 | else |
288 | col = colorGroup().background().dark( 150 ); | 297 | col = colorGroup().background().dark( 150 ); |
289 | } | 298 | } |