summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/systemtray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/systemtray.cpp')
-rw-r--r--superkaramba/src/systemtray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/superkaramba/src/systemtray.cpp b/superkaramba/src/systemtray.cpp
index ab539cd..f8397de 100644
--- a/superkaramba/src/systemtray.cpp
+++ b/superkaramba/src/systemtray.cpp
@@ -62,7 +62,7 @@ void Systemtray::updateBackgroundPixmap ( const TQPixmap & pixmap) {
//Stupid stupid stupid work around for annoying bug
//QXEmbed ignores setBackgroundOrigin(AncestorOrigin)....
TQPixmap bug = TQPixmap(emb->size());
- bitBlt(TQT_TQPAINTDEVICE(&bug), 0, 0, TQT_TQPAINTDEVICE(const_cast<TQPixmap*>(&pixmap)), emb->parentWidget()->x()+emb->x(), emb->parentWidget()->y()+emb->y(), emb->width(), emb->height(),TQt::CopyROP, false);
+ bitBlt(&bug, 0, 0, const_cast<TQPixmap*>(&pixmap), emb->parentWidget()->x()+emb->x(), emb->parentWidget()->y()+emb->y(), emb->width(), emb->height(),TQt::CopyROP, false);
emb->setPaletteBackgroundPixmap (bug);
}