[Kst] branches/work/kst/portto4/kst/src/libkstapp
Mike Fenton
mike at staikos.net
Mon May 4 20:24:11 CEST 2009
SVN commit 963421 by fenton:
Fix windows build error.
M +1 -2 datawizard.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/datawizard.cpp #963420:963421
@@ -903,8 +903,7 @@
Q_ASSERT(plotItem);
-
- double fontScale = ApplicationSettings::self()->referenceFontSize()/sqrt(plotList.count()) - ApplicationSettings::self()->referenceFontSize()+ApplicationSettings::self()->referenceFontSize()/3;
+ double fontScale = ApplicationSettings::self()->referenceFontSize()/sqrt((double) plotList.count()) - ApplicationSettings::self()->referenceFontSize()+ApplicationSettings::self()->referenceFontSize()/3;
if (fontScale>0) fontScale = 0;
plotItem->setGlobalFontScale(fontScale);
More information about the Kst
mailing list