summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kpoti.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/gui/kde/kpoti.cpp')
-rw-r--r--arts/gui/kde/kpoti.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/arts/gui/kde/kpoti.cpp b/arts/gui/kde/kpoti.cpp
index 03a99c29..cea2a104 100644
--- a/arts/gui/kde/kpoti.cpp
+++ b/arts/gui/kde/kpoti.cpp
@@ -209,7 +209,8 @@ KPoti::~KPoti()
void KPoti::init(int value)
{
d = new KPotiPrivate;
- const_cast<QFont*>(&font())->setPointSize( 8 );
+ TQFont pifnt = font();
+ const_cast<QFont*>(&pifnt)->setPointSize( 8 );
d->potiColor.setNamedColor( "red" );
timer = 0;