[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Mon Jul 7 17:58:00 CEST 2003


CVS commit by staikos: 

urgh this stuff is just too inconsistent in kdelibs :(

Let's be explicit and manually do what we want in each case.


  M +4 -1      kst.cpp   1.41


--- kdeextragear-2/kst/kst/kst.cpp  #1.40:1.41
@@ -149,5 +149,4 @@ void KstApp::updateActions() {
 
 KstApp::~KstApp() {
-  saveMainWindowSettings(KGlobal::config(), "KST-KMainWindow");
   delete _dcopIface;
   _dcopIface = 0L;
@@ -178,7 +177,11 @@ void KstApp::initActions() {
   ToolBarAction = KStdAction::showToolbar(this, SLOT(slotViewToolBar()),
                                           actionCollection());
+  connect(ToolBarAction, SIGNAL(activated()), this, SLOT(setSettingsDirty()));
+
   /************/
   StatusBarAction = KStdAction::showStatusbar(this, SLOT(slotViewStatusBar()),
                                               actionCollection());
+  connect(StatusBarAction, SIGNAL(activated()), this, SLOT(setSettingsDirty()));
+
   /************/
   recent = KStdAction::openRecent(this, SLOT(slotFileOpenRecent(const KURL &)),




More information about the Kst mailing list