summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/recording/recording-datamonitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/recording/recording-datamonitor.cpp')
-rw-r--r--kradio3/plugins/recording/recording-datamonitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kradio3/plugins/recording/recording-datamonitor.cpp b/kradio3/plugins/recording/recording-datamonitor.cpp
index c34ab0a..797ca9c 100644
--- a/kradio3/plugins/recording/recording-datamonitor.cpp
+++ b/kradio3/plugins/recording/recording-datamonitor.cpp
@@ -220,9 +220,9 @@ bool RecordingDataMonitor::setColors(const TQColor &activeText,
pl.setActive(ncg);
setPalette(pl);
- if (tqparentWidget() && tqparentWidget()->backgroundPixmap() ){
+ if (parentWidget() && parentWidget()->backgroundPixmap() ){
KPixmapIO io;
- TQImage i = io.convertToImage(*tqparentWidget()->backgroundPixmap());
+ TQImage i = io.convertToImage(*parentWidget()->backgroundPixmap());
KImageEffect::fade(i, 0.5, tqcolorGroup().color(TQColorGroup::Dark));
setPaletteBackgroundPixmap(io.convertToPixmap(i));
setBackgroundOrigin(WindowOrigin);