summaryrefslogtreecommitdiffstats
path: root/kwin/tools/decobenchmark/preview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/tools/decobenchmark/preview.cpp')
-rw-r--r--kwin/tools/decobenchmark/preview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kwin/tools/decobenchmark/preview.cpp b/kwin/tools/decobenchmark/preview.cpp
index 4edcfa9f0..3cbcdcb5f 100644
--- a/kwin/tools/decobenchmark/preview.cpp
+++ b/kwin/tools/decobenchmark/preview.cpp
@@ -66,7 +66,7 @@ void KDecorationPreview::performRepaintTest(int n)
deco->captionChange();
positionPreviews(0);
for (int i = 0; i < n; ++i) {
- deco->widget()->tqrepaint();
+ deco->widget()->repaint();
kapp->processEvents();
}
}
@@ -79,7 +79,7 @@ void KDecorationPreview::performCaptionTest(int n)
for (int i = 0; i < n; ++i) {
bridge->setCaption(caption.arg(i) );
deco->captionChange();
- deco->widget()->tqrepaint();
+ deco->widget()->repaint();
kapp->processEvents();
}
}