[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdewebdev/quanta/src
From:       Andras Mantia <amantia () kde ! org>
Date:       2005-02-08 16:30:37
Message-ID: 20050208163037.D2E4F1D17A () office ! kde ! org
[Download RAW message or body]

CVS commit by amantia: 

Show the close files dialog earlier as suggested by Jens.


  M +3 -2      quanta.cpp   1.696


--- kdewebdev/quanta/src/quanta.cpp  #1.695:1.696
@@ -3925,5 +3925,6 @@ bool QuantaApp::queryClose()
   if (quantaStarted)
   {
-    saveOptions();
+    m_config->setGroup("General Options");
+    m_config->writePathEntry("List of opened files", \
ViewManager::ref()->openedFiles().toStringList());  parser->setParsingEnabled(false);
     canExit = ViewManager::ref()->closeAll(false);
@@ -3936,4 +3937,5 @@ bool QuantaApp::queryClose()
   if (canExit)
   {
+    saveOptions();
    // kdDebug(24000) << "Quanta will exit" << endl;
     emit eventHappened("quanta_exit", \
QDateTime::currentDateTime().toString(Qt::ISODate), QString::null); @@ -3986,5 \
+3988,4 @@ void QuantaApp::saveOptions()  }
     m_config->writePathEntry("Top folder aliases", aliasList);
-    m_config->writePathEntry("List of opened files", \
ViewManager::ref()->openedFiles().toStringList());  m_config->writeEntry("Version", \
QUANTA_VERSION); // version  m_config->writeEntry("Close Buttons", \
qConfig.showCloseButtons);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic