diff options
Diffstat (limited to 'digikam/libs/widgets/common')
-rw-r--r-- | digikam/libs/widgets/common/dpopupmenu.cpp | 2 | ||||
-rw-r--r-- | digikam/libs/widgets/common/histogramwidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/digikam/libs/widgets/common/dpopupmenu.cpp b/digikam/libs/widgets/common/dpopupmenu.cpp index e611591c..4e7689e2 100644 --- a/digikam/libs/widgets/common/dpopupmenu.cpp +++ b/digikam/libs/widgets/common/dpopupmenu.cpp @@ -100,7 +100,7 @@ TQColor DPopupMenu::calcPixmapColor() int h1, s1, v1, h2, s2, v2, h3, s3, v3; activeTitle.hsv(&h1, &s1, &v1); inactiveTitle.hsv(&h2, &s2, &v2); - TQApplication::tqpalette().active().background().hsv(&h3, &s3, &v3); + TQApplication::palette().active().background().hsv(&h3, &s3, &v3); if ( (kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < kAbs(h2-h3)+kAbs(s2-s3)+kAbs(v2-v3)) && ((kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < 32) || (s1 < 32)) && (s2 > s1)) diff --git a/digikam/libs/widgets/common/histogramwidget.cpp b/digikam/libs/widgets/common/histogramwidget.cpp index 8cd9dd2e..56a7987c 100644 --- a/digikam/libs/widgets/common/histogramwidget.cpp +++ b/digikam/libs/widgets/common/histogramwidget.cpp @@ -384,7 +384,7 @@ void HistogramWidget::paintEvent(TQPaintEvent*) TQPixmap pm(size()); TQPainter p1; p1.begin(TQT_TQPAINTDEVICE(&pm), TQT_TQOBJECT(this)); - p1.fillRect(0, 0, size().width(), size().height(), tqpalette().disabled().background()); + p1.fillRect(0, 0, size().width(), size().height(), palette().disabled().background()); p1.setPen(TQPen(palette().active().foreground(), 1, TQt::SolidLine)); p1.drawRect(0, 0, width(), height()); p1.setPen(TQPen(palette().disabled().foreground(), 1, TQt::SolidLine)); |