summaryrefslogtreecommitdiffstats
path: root/src/systemtray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemtray.cpp')
-rw-r--r--src/systemtray.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemtray.cpp b/src/systemtray.cpp
index 118d449..990e42e 100644
--- a/src/systemtray.cpp
+++ b/src/systemtray.cpp
@@ -161,7 +161,7 @@ void KSystemTray2::displayCloseMessage(TQString fileMenu)
const int IMAGE_BORDER = 1;
int ax = g.x() - x - CIRCLE_MARGINS - 1;
int ay = g.y() - y - CIRCLE_MARGINS - 1;
- painter.setPen( TQPen(KApplication::tqpalette().active().dark(), CIRCLE_WIDTH) );
+ painter.setPen( TQPen(KApplication::palette().active().dark(), CIRCLE_WIDTH) );
painter.drawArc(ax + SHADOW_OFFSET, ay + SHADOW_OFFSET,
tw + 2*CIRCLE_MARGINS, th + 2*CIRCLE_MARGINS, 0, 16*360);
painter.setPen( TQPen(TQt::red/*KApplication::tqpalette().active().highlight()*/, CIRCLE_WIDTH) );
@@ -174,7 +174,7 @@ void KSystemTray2::displayCloseMessage(TQString fileMenu)
// Then, we add a border arround the image to make it more visible:
TQPixmap finalShot(w + 2*IMAGE_BORDER, h + 2*IMAGE_BORDER);
- finalShot.fill(KApplication::tqpalette().active().foreground());
+ finalShot.fill(KApplication::palette().active().foreground());
painter.begin(&finalShot);
painter.drawPixmap(IMAGE_BORDER, IMAGE_BORDER, shot);
painter.end();