From fc270cb123f16550ccfa713ee70ea782a3fbb7ba Mon Sep 17 00:00:00 2001 From: dt Date: Thu, 4 Dec 2008 11:10:56 +0100 Subject: [PATCH] Fixes: Crash on windows on loading projects.pro RevBy: Patch by eskil Details: I can't really see why the path could be wrong there, and can't reproduce the crash. --- src/plugins/qt4projectmanager/qt4nodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qt4nodes.cpp b/src/plugins/qt4projectmanager/qt4nodes.cpp index 672ce8b835b..e67172eb7fb 100644 --- a/src/plugins/qt4projectmanager/qt4nodes.cpp +++ b/src/plugins/qt4projectmanager/qt4nodes.cpp @@ -84,7 +84,7 @@ Qt4PriFileNode::Qt4PriFileNode(Qt4Project *project, : ProjectNode(filePath), m_core(project->qt4ProjectManager()->core()), m_project(project), - m_projectFilePath(filePath), + m_projectFilePath(QDir::fromNativeSeparators(filePath)), m_projectDir(QFileInfo(filePath).absolutePath()), m_includeFile(0), m_saveTimer(new QTimer(this)),