11#include <QApplication>
27 : m_view(view), m_model(m_view->getWindows(), m_view->getAllPythonInterfaces()) {
41 switch (notification) {
61 if (!wsNames.empty()) {
100 QFileInfo fileInfo(path);
101 bool isFile = fileInfo.filePath().endsWith(
".mantid") || fileInfo.filePath().endsWith(
".mantid.gz");
104 QDir directory(path);
105 if (!directory.exists()) {
107 directory.mkdir(path);
110 auto projectFileName = directory.dirName();
111 projectFileName.append(
".mantid");
112 path = directory.absoluteFilePath(projectFileName);
114 path = fileInfo.absoluteFilePath();