Remove QT3_SUPPORT
svn path=/trunk/KDE/kdebase/workspace/; revision=902437
This commit is contained in:
parent
0de133fca9
commit
569e6589a5
2 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,3 @@
|
|||
add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
|
||||
|
||||
add_subdirectory( config )
|
||||
|
||||
########### next target ###############
|
||||
|
|
|
@ -216,7 +216,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
|
|||
if(client_.maximizeMode() == OxygenClient::MaximizeRestore)
|
||||
painter.translate(0,-1);
|
||||
|
||||
QColor bg = helper_.backgroundTopColor(pal.window());
|
||||
QColor bg = helper_.backgroundTopColor(pal.window().color());
|
||||
|
||||
color = buttonDetailColor(pal);
|
||||
if(status_ == Oxygen::Hovered || status_ == Oxygen::Pressed) {
|
||||
|
@ -226,7 +226,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
|
|||
color = KColorScheme(pal.currentColorGroup()).decoration(KColorScheme::HoverColor).color();
|
||||
}
|
||||
QLinearGradient lg = helper_.decoGradient(QRect(4,4,13,13), color);
|
||||
painter.drawPixmap(0, 0, helper_.windecoButton(pal.window(), status_ == Oxygen::Pressed));
|
||||
painter.drawPixmap(0, 0, helper_.windecoButton(pal.window().color(), status_ == Oxygen::Pressed));
|
||||
|
||||
if (client_.isActive()) {
|
||||
painter.setRenderHints(QPainter::Antialiasing);
|
||||
|
|
Loading…
Reference in a new issue