[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: koffice/libs/kofficecore
From:       Thomas Zander <zander () kde ! org>
Date:       2007-05-05 5:28:34
Message-ID: 200705050728.39828.zander () kde ! org
[Download RAW message or body]


On Saturday 05 May 2007 02:23:46 Robert Knight wrote:
> SVN commit 661250 by knight:
>
> Remove hardcoded minimum point size as suggested.
>
>  M  +3 -6      KoMainWindow.cpp
>
>
> --- trunk/koffice/libs/kofficecore/KoMainWindow.cpp #661249:661250
> @@ -1786,12 +1786,9 @@
>      // option
>
>      KConfigGroup group( KGlobal::config(), "GUI" );
> -    QFont f  = KGlobalSettings::generalFont();
> -    double ps = group.readEntry("palettefontsize", f.pointSize());
> -    ps = qMax(8.0 , ps);
> -    f.setPointSizeF(ps);
> -
> -    dockWidget->setFont(f);
> +    QFont dockWidgetFont  = KGlobalSettings::generalFont();
> +    double pointSize = group.readEntry("palettefontsize",
> dockWidgetFont.pointSize()); +    dockWidget->setFont(dockWidgetFont);
>
>      return dockWidget;
>  }

Variable 'pointSize' looks unused.

-- 
Thomas Zander

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic