mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kcontrol: use object instead of pointer for Katie settings in krdb
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
cbc80bb4e1
commit
df0e139a32
1 changed files with 3 additions and 4 deletions
|
@ -443,15 +443,14 @@ void runRdb( uint flags )
|
|||
/* Katie exports */
|
||||
if ( exportQtColors || exportQtSettings )
|
||||
{
|
||||
QSettings* settings = new QSettings(QLatin1String("Katie"), QSettings::NativeFormat);
|
||||
QSettings settings(QLatin1String("Katie"), QSettings::NativeFormat);
|
||||
|
||||
if ( exportQtColors )
|
||||
applyQtColors( kglobalcfg, *settings, newPal ); // For kcmcolors
|
||||
applyQtColors( kglobalcfg, settings, newPal ); // For kcmcolors
|
||||
|
||||
if ( exportQtSettings )
|
||||
applyQtSettings( kglobalcfg, *settings ); // For kcmstyle
|
||||
applyQtSettings( kglobalcfg, settings ); // For kcmstyle
|
||||
|
||||
delete settings;
|
||||
QApplication::flush();
|
||||
#ifdef Q_WS_X11
|
||||
// We let KIPC take care of ourselves, as we are in a KDE app with
|
||||
|
|
Loading…
Add table
Reference in a new issue