summaryrefslogtreecommitdiffstats
path: root/digikam/utilities/cameragui/freespacewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/utilities/cameragui/freespacewidget.cpp')
-rw-r--r--digikam/utilities/cameragui/freespacewidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/digikam/utilities/cameragui/freespacewidget.cpp b/digikam/utilities/cameragui/freespacewidget.cpp
index 0a32eb25..afece0e7 100644
--- a/digikam/utilities/cameragui/freespacewidget.cpp
+++ b/digikam/utilities/cameragui/freespacewidget.cpp
@@ -151,10 +151,10 @@ void FreeSpaceWidget::updatePixmap()
{
TQPixmap fimgPix = SmallIcon("folder_image");
d->pix = TQPixmap(size());
- d->pix.fill(tqcolorGroup().background());
+ d->pix.fill(colorGroup().background());
TQPainter p(&d->pix);
- p.setPen(tqcolorGroup().mid());
+ p.setPen(colorGroup().mid());
p.drawRect(0, 0, d->pix.width(), d->pix.height());
p.drawPixmap(2, d->pix.height()/2-fimgPix.height()/2,
fimgPix, 0, 0, fimgPix.width(), fimgPix.height());
@@ -174,7 +174,7 @@ void FreeSpaceWidget::updatePixmap()
TQRect tRect(fimgPix.height()+2, 1, d->pix.width()-2-fimgPix.width()-2, d->pix.height()-2);
TQString text = TQString("%1%").tqarg(peUsed);
- p.setPen(tqcolorGroup().text());
+ p.setPen(colorGroup().text());
TQFontMetrics fontMt = p.fontMetrics();
TQRect fontRect = fontMt.boundingRect(tRect.x(), tRect.y(),
tRect.width(), tRect.height(), 0, text);