metaforce/metaforce-gui/FileDirDialog.hpp

12 lines
250 B
C++
Raw Normal View History

2018-10-07 03:41:18 +00:00
#pragma once
2017-12-06 03:31:43 +00:00
#include <QFileDialog>
2018-12-08 05:19:40 +00:00
class FileDirDialog : public QFileDialog {
Q_OBJECT
2017-12-06 03:31:43 +00:00
public:
FileDirDialog(QWidget* parent = nullptr, QFileDialog::FileMode mode = QFileDialog::Directory) : QFileDialog(parent) {
setFileMode(mode);
}
2017-12-06 03:31:43 +00:00
};