diff -r b0e004c8e3a4 -r c20ee66b6705 src/toolsets/algorithmtoolset.cpp --- a/src/toolsets/algorithmtoolset.cpp Thu Feb 23 19:33:56 2017 +0200 +++ b/src/toolsets/algorithmtoolset.cpp Thu Feb 23 19:56:21 2017 +0200 @@ -17,11 +17,9 @@ */ #include -#include -#include #include #include -#include +#include #include "../mainwindow.h" #include "../main.h" #include "../lddocument.h" @@ -476,13 +474,14 @@ { QString desiredPath = subdirname + "/s"; QString title = tr ("Create subfile directory?"); - QString text = format (tr ("The directory %1 is suggested for " - "subfiles. This directory does not exist, create it?"), desiredPath); + QString text = format(tr("The directory %1 is suggested for subfiles. " + "This directory does not exist, do you want to create it?"), desiredPath); - if (QDir (desiredPath).exists() or Confirm (title, text)) + if (QDir(desiredPath).exists() + or QMessageBox::question(m_window, title, text, (QMessageBox::Yes | QMessageBox::No), QMessageBox::No) == QMessageBox::Yes) { subdirname = desiredPath; - QDir().mkpath (subdirname); + QDir().mkpath(subdirname); } else return;