KDE/kdevelop/src

Andras Mantia amantia at kde.org
Fri Apr 28 09:06:09 UTC 2006


SVN commit 534938 by amantia:

Don't crash. Should KDevCore::openProject take a KUrl?

CCMAIL: kdevelop-devel at kdevelop.org

 M  +1 -1      core.cpp  


--- trunk/KDE/kdevelop/src/core.cpp #534937:534938
@@ -73,7 +73,7 @@
 
 void Core::openProject(const QString& projectFileName)
 {
-  ProjectManager::getInstance()->loadProject(KUrl( projectFileName ));
+    ProjectManager::getInstance()->loadProject(KUrl::fromPathOrURL( projectFileName ));
 }
 
 namespace MainWindowUtils{




More information about the KDevelop-devel mailing list