[Bug 62232] recent projects are not remembered

Harald Fernengel harry at kdevelop.org
Mon Aug 25 23:29:02 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=62232     
harry at kdevelop.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From harry at kdevelop.org  2003-08-25 23:28 -------
Subject: kdevelop/src

CVS commit by harald: 

fix "open recent projects" submenu

CCMAIL: 62232-done at bugs.kde.org


  M +3 -3      projectmanager.cpp   1.54


--- kdevelop/src/projectmanager.cpp  #1.53:1.54
@@ -108,4 +108,5 @@ void ProjectManager::createActions( KAct
                           ac, "project_open_recent");
   m_openRecentProjectAction->setStatusText(i18n("Opens a recent project"));
+  m_openRecentProjectAction->loadEntries(kapp->config(), "RecentProjects");
 
   m_closeProjectAction =
@@ -163,6 +164,4 @@ void ProjectManager::slotProjectOptions(
 void ProjectManager::loadSettings()
 {
-  KConfig *config = kapp->config();
-  m_openRecentProjectAction->loadEntries(config, "RecentProjects");
 }
 
@@ -252,5 +251,6 @@ bool ProjectManager::loadProject(const K
   }
 
-  m_openRecentProjectAction->addURL(KURL(projectFile()));
+  m_openRecentProjectAction->addURL(projectFile());
+
   m_closeProjectAction->setEnabled(true);
   m_projectOptionsAction->setEnabled(true);




More information about the KDevelop-devel mailing list