summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arts/gui/kde/kpoti.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arts/gui/kde/kpoti.cpp b/arts/gui/kde/kpoti.cpp
index dd4e484b..6beed787 100644
--- a/arts/gui/kde/kpoti.cpp
+++ b/arts/gui/kde/kpoti.cpp
@@ -209,7 +209,7 @@ KPoti::~KPoti()
void KPoti::init(int value)
{
d = new KPotiPrivate;
- const_cast<QFont&>(font()).setPointSize( 8 );
+ const_cast<QFont*>(&font())->setPointSize( 8 );
d->potiColor.setNamedColor( "red" );
timer = 0;