#include "usersettings.h"
#include <QVBoxLayout>
-#include <QDebug>
-
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
m_loadDataFileDialog->setDirectory(path.toString());
m_loadDataFileDialog->setWindowTitle("Load single run");
if (m_loadDataFileDialog->exec() == QDialog::Accepted) {
- qDebug() << "Chosen file" << m_loadDataFileDialog->selectedFiles();
emit loadSingleRun(m_loadDataFileDialog->selectedFiles()[0]);
UserSettings::set("last_singlerun_directory", QVariant(m_loadDataFileDialog->directory().absolutePath()));
}