// and a status bar
statusBar()->show();
+ readDockConfig( KGlobal::config() );
+
+ readConfig( KGlobal::config() );
+
+ applyMainWindowSettings( KGlobal::config(), settingsGroup() );
+
// apply the saved mainwindow settings, if any, and ask the mainwindow
// to automatically save settings if changed: window size, toolbar
// position, icon size, etc.
setAutoSaveSettings();
- readDockConfig( KGlobal::config() );
-
- readConfig(KGlobal::config());
-
// allow the view to change the statusbar and caption
connect( m_threadView, SIGNAL( signalChangeStatusbar( const QString& ) ),
SLOT( changeStatusbar( const QString& ) ) );
saveFavorites();
saveCache();
+
writeConfig(KGlobal::config());
writeDockConfig( KGlobal::config() );
void KitaMainWindow::optionsConfigureToolbars()
{
// use the standard toolbar editor
- saveMainWindowSettings( KGlobal::config(), settingsGroup() );
KEditToolbar dlg(actionCollection());
connect( &dlg, SIGNAL( newToolbarConfig() ),
SLOT( newToolbarConfig() ) );
// this slot is called when user clicks "Ok" or "Apply" in the toolbar editor.
// recreate our GUI, and re-apply the settings (e.g. "text under icons", etc.)
createGUI();
- applyMainWindowSettings( KGlobal::config(), settingsGroup() );
}
void KitaMainWindow::windowShowBoardlist()