a patch

llornkcor llornkcor at llornkcor.com
Tue Feb 29 02:27:43 GMT 2000


For any of you that have several on-going kdevelop projects, I have a patch to 
increase the default number of recent projects listed from 5 to 15. I just
wanted to share it.

LP


--- kdevelop/ckdevelop_noslot.cpp.old	Mon Feb 28 19:43:46 2000
+++ kdevelop/ckdevelop_noslot.cpp	Mon Feb 28 19:41:33 2000
@@ -40,10 +40,10 @@
 void CKDevelop::addRecentProject(const char* file)
 {
   if(recent_projects.find(file) == -1){
-    if( recent_projects.count() < 5)
+    if( recent_projects.count() < 15)
       recent_projects.insert(0,file);
     else{
-      recent_projects.remove(4);
+      recent_projects.remove(14);
       recent_projects.insert(0,file);
     }
     recent_projects_menu->clear();





More information about the KDevelop mailing list