From e7cb4c20af8b07bf923c864026481ce316c40e1d Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 02 Apr 2005 08:36:37 +0000 Subject: more fixes --- (limited to 'microkde/KDGanttMinimizeSplitter.cpp') diff --git a/microkde/KDGanttMinimizeSplitter.cpp b/microkde/KDGanttMinimizeSplitter.cpp index 253175e..2a30346 100644 --- a/microkde/KDGanttMinimizeSplitter.cpp +++ b/microkde/KDGanttMinimizeSplitter.cpp @@ -273,7 +273,7 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * ) //p.drawRect( rect() ); #ifndef DESKTOP_VERSION if ( mMouseDown ) - buffer.fill( QColor( 242,27,255 ) ); + buffer.fill( colorGroup().background().dark() ); else #endif buffer.fill( colorGroup().background() ); @@ -288,11 +288,7 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * ) 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 + col = Qt::white; else col = colorGroup().background().dark( 150 ); } @@ -688,7 +684,7 @@ void KDGanttMinimizeSplitter::setRubberband( int p ) mRubberBand = new QFrame( 0, "rubber", WStyle_NoBorder | WStyle_Customize | WStyle_StaysOnTop); mRubberBand->setFrameStyle( Box | Raised ); //mRubberBand->setPalette( QPalette ( Qt::red.light(),Qt::red.dark() ) ); - mRubberBand->setPalette( QPalette ( QColor( 178,18,188), QColor( 242,27,255 ) )); + mRubberBand->setPalette( QPalette ( colorGroup().background().light(), colorGroup().background().dark() )); } QRect r = contentsRect(); static int rBord = 0; //Themable???? -- cgit v0.9.0.2