summaryrefslogtreecommitdiffabout
path: root/microkde
authorzautrix <zautrix>2005-04-02 08:36:37 (UTC)
committer zautrix <zautrix>2005-04-02 08:36:37 (UTC)
commite7cb4c20af8b07bf923c864026481ce316c40e1d (patch) (side-by-side diff)
treec88b2d0c01ce683e73ea9f4657f4d5c6fbe6f922 /microkde
parent7aefe488d1fe0c34cf29460f48a9a97d632f615e (diff)
downloadkdepimpi-e7cb4c20af8b07bf923c864026481ce316c40e1d.zip
kdepimpi-e7cb4c20af8b07bf923c864026481ce316c40e1d.tar.gz
kdepimpi-e7cb4c20af8b07bf923c864026481ce316c40e1d.tar.bz2
more fixes
Diffstat (limited to 'microkde') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/KDGanttMinimizeSplitter.cpp10
-rw-r--r--microkde/kdialogbase.cpp8
2 files changed, 7 insertions, 11 deletions
diff --git a/microkde/KDGanttMinimizeSplitter.cpp b/microkde/KDGanttMinimizeSplitter.cpp
index 253175e..2a30346 100644
--- a/microkde/KDGanttMinimizeSplitter.cpp
+++ b/microkde/KDGanttMinimizeSplitter.cpp
@@ -275,3 +275,3 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * )
if ( mMouseDown )
- buffer.fill( QColor( 242,27,255 ) );
+ buffer.fill( colorGroup().background().dark() );
else
@@ -290,7 +290,3 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * )
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
@@ -690,3 +686,3 @@ void KDGanttMinimizeSplitter::setRubberband( int p )
//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() ));
}
diff --git a/microkde/kdialogbase.cpp b/microkde/kdialogbase.cpp
index e6144de..11635e1 100644
--- a/microkde/kdialogbase.cpp
+++ b/microkde/kdialogbase.cpp
@@ -138,4 +138,4 @@ void KDialogBase::initLayout()
mTopLayout = new QVBoxLayout( this );
- mTopLayout->setMargin( marginHint() );
- mTopLayout->setSpacing( spacingHint() );
+ mTopLayout->setMargin( marginHintSmall() );
+ mTopLayout->setSpacing( spacingHintSmall() );
@@ -153,4 +153,4 @@ void KDialogBase::initLayout()
if ( mCloseButton ) buttonLayout->addWidget( mCloseButton );
- buttonLayout->setMargin( 0 );
- buttonLayout->setSpacing( spacingHint() );
+ buttonLayout->setMargin( marginHintSmall() );
+ buttonLayout->setSpacing( spacingHintSmall() );
}