summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoFontDiaPreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoFontDiaPreview.cpp')
-rw-r--r--lib/kotext/KoFontDiaPreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/KoFontDiaPreview.cpp b/lib/kotext/KoFontDiaPreview.cpp
index adf7594d..b8ae8846 100644
--- a/lib/kotext/KoFontDiaPreview.cpp
+++ b/lib/kotext/KoFontDiaPreview.cpp
@@ -392,7 +392,7 @@ void KoFontDiaPreview::drawUnderlineWave( int x, int y, int width, int thickness
p->save();
int offset = 2 * thickness;
TQPen pen(color, thickness, TQt::SolidLine);
- pen.setCapStyle(Qt::RoundCap);
+ pen.setCapStyle(TQt::RoundCap);
p->setPen(pen);
double anc=acos(1.0-2*(static_cast<double>(offset-(x)%offset)/static_cast<double>(offset)))/3.1415*180;
int pos=1;