From dbfa4de9416c28c5424eeee0f36f50de4cfae0ec Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 25 Oct 2004 22:23:56 +0000 Subject: pwmpi windows management fixes --- (limited to 'microkde') diff --git a/microkde/kdeui/kmainwindow.cpp b/microkde/kdeui/kmainwindow.cpp index bd5a2cc..3ae4c87 100644 --- a/microkde/kdeui/kmainwindow.cpp +++ b/microkde/kdeui/kmainwindow.cpp @@ -300,6 +300,7 @@ void KMainWindow::slotStateChanged(const QString &newstate, void KMainWindow::closeEvent ( QCloseEvent *e ) { + //qDebug("MainWindow::closeEvent "); // Save settings if auto-save is enabled, and settings have changed if (d->settingsDirty && d->autoSaveSettings) saveAutoSaveSettings(); diff --git a/microkde/kdeui/kmainwindow.h b/microkde/kdeui/kmainwindow.h index e76e732..2aafb9d 100644 --- a/microkde/kdeui/kmainwindow.h +++ b/microkde/kdeui/kmainwindow.h @@ -63,7 +63,7 @@ private: //US create private defaultconstructor KMainWindow() {;}; -public: + public: /** * Construct a main window. @@ -93,7 +93,8 @@ public: * KMainWindows must be created on the heap with 'new', like: *
 KMainWindow *kmw = new KMainWindow (...
**/ - KMainWindow( QWidget* parent = 0, const char *name = 0, WFlags f = WType_TopLevel | WDestructiveClose ); + //LR remove WDestructiveClose + KMainWindow( QWidget* parent = 0, const char *name = 0, WFlags f = WType_TopLevel /*| WDestructiveClose*/ ); /** -- cgit v0.9.0.2