metaforce/hecl-gui/FileDirDialog.hpp

14 lines
281 B
C++
Raw Normal View History

2017-12-06 03:31:43 +00:00
#ifndef FILEDIRDIALOG_HPP
#define FILEDIRDIALOG_HPP
#include <QFileDialog>
class FileDirDialog : public QFileDialog
{
Q_OBJECT
public:
FileDirDialog(QWidget* parent = nullptr) : QFileDialog(parent) { setFileMode(QFileDialog::Directory); }
2017-12-06 03:31:43 +00:00
};
#endif // FILEDIRDIALOG_HPP