18#include "Otf2FileDialog.hpp"
20#include "src/models/AppSettings.hpp"
23 this->setFileMode(QFileDialog::ExistingFile);
24 this->setNameFilter(
"*.otf2");
26 if (recentlyOpenedFiles.isEmpty()) {
27 this->setDirectory(QDir::home());
29 this->setDirectory(recentlyOpenedFiles.last());
static AppSettings & getInstance()
const QStringList & recentlyOpenedFiles() const
Returns the recently opened files.
Otf2FileDialog(QWidget *parent=nullptr)