metaforce/hecl-gui/FileDirDialog.hpp

10 lines
209 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:
2018-12-08 05:19:40 +00:00
FileDirDialog(QWidget* parent = nullptr) : QFileDialog(parent) { setFileMode(QFileDialog::Directory); }
2017-12-06 03:31:43 +00:00
};