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.
This commit is contained in:
dt
2008-12-04 11:10:56 +01:00
parent 4c4602b739
commit fc270cb123

View File

@@ -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)),