// -----------------------------------------------------------------------------
-static void applyQtColors( KSharedConfigPtr kglobalcfg, QSettings& settings, QPalette& newPal )
+static void applyQtColors( QSettings& settings, QPalette& newPal )
{
QStringList actcg, inactcg, discg;
/* export kde color settings */
// -----------------------------------------------------------------------------
-static void applyQtSettings( KSharedConfigPtr kglobalcfg, QSettings& settings )
+static void applyQtSettings( QSettings& settings )
{
/* export font settings */
settings.setValue("Qt/font", KGlobalSettings::generalFont().toString());
QSettings settings(QLatin1String("Katie"), QSettings::NativeFormat);
if ( exportQtColors )
- applyQtColors( kglobalcfg, settings, newPal ); // For kcmcolors
+ applyQtColors( settings, newPal ); // For kcmcolors
if ( exportQtSettings )
- applyQtSettings( kglobalcfg, settings ); // For kcmstyle
+ applyQtSettings( settings ); // For kcmstyle
}
QApplication::flush();