Commit a04bd3a2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't create a build directory if the directory was not created.

parent 41efbdae
......@@ -63,8 +63,12 @@ void CMakeBuildDirCreator::runBegin()
"Do you want KDevelop to create it for you?", buildFolder().toLocalFile()));
if(ret==KMessageBox::Continue)
{
QDir::root().mkpath(d.absolutePath() );
bool res=QDir::root().mkpath(d.absolutePath() );
if(!res)
return;
}
else
return;
}
args += m_srcFolder.toLocalFile();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment