[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeartwork/styles/plastik
From: Sandro Giessl <sandro () giessl ! com>
Date: 2004-05-30 23:16:50
Message-ID: 20040530231650.A2BFC126EC () office ! kde ! org
[Download RAW message or body]
CVS commit by giessl:
Don't touch the widget's background mode for now. No idea why I did this anyway.
Martin: Instead of using setBackgroundMode() it would be a bit safer to modify
the palette's color group element (in this case QColorGroup::Button) directly.
However, as Maksim said, you should consider avoiding hardcoded colors into your app.
CCMAIL: 82536-done@bugs.kde.org, m.koller@surfeu.at
M +1 -1 plastik.cpp 1.78
--- kdeartwork/styles/plastik/plastik.cpp #1.77:1.78
@@ -235,5 +235,5 @@ void PlastikStyle::polish(QWidget* widge
::qt_cast<QToolButton*>(widget) || widget->inherits("QSplitterHandle") )
{
- widget->setBackgroundMode(PaletteBackground);
+// widget->setBackgroundMode(PaletteBackground);
widget->installEventFilter(this);
} else if (::qt_cast<QLineEdit*>(widget)) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic