mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kcontrol: default to KGlobalSettings::generalFont() when font is not specified in the global config in applyQtSettings() function
for consistency, the fonts KCM for example uses the KGlobalSettings defaults Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
8559352bde
commit
f77334b71d
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ static void applyQtSettings( KSharedConfigPtr kglobalcfg, QSettings& settings )
|
|||
{
|
||||
/* export font settings */
|
||||
KConfigGroup fontgrp( kglobalcfg, "General" );
|
||||
QString font = fontgrp.readEntry("font", QString());
|
||||
QString font = fontgrp.readEntry("font", KGlobalSettings::generalFont().toString());
|
||||
settings.setValue("Qt/font", font);
|
||||
|
||||
/* export effects settings */
|
||||
|
|
Loading…
Add table
Reference in a new issue