Fix type of default value for options.

This commit is contained in:
Felix Geyer 2015-07-25 18:13:57 +02:00
parent a862f62fe8
commit 0ea64afe92

View File

@ -27,10 +27,10 @@ class FileDialog
public: public:
QString getOpenFileName(QWidget* parent = Q_NULLPTR, const QString& caption = QString(), QString getOpenFileName(QWidget* parent = Q_NULLPTR, const QString& caption = QString(),
QString dir = QString(), const QString& filter = QString(), QString dir = QString(), const QString& filter = QString(),
QString* selectedFilter = Q_NULLPTR, QFileDialog::Options options = Q_NULLPTR); QString* selectedFilter = Q_NULLPTR, QFileDialog::Options options = 0);
QString getSaveFileName(QWidget* parent = Q_NULLPTR, const QString& caption = QString(), QString getSaveFileName(QWidget* parent = Q_NULLPTR, const QString& caption = QString(),
QString dir = QString(), const QString& filter = QString(), QString dir = QString(), const QString& filter = QString(),
QString* selectedFilter = Q_NULLPTR, QFileDialog::Options options = Q_NULLPTR); QString* selectedFilter = Q_NULLPTR, QFileDialog::Options options = 0);
/** /**
* Sets the result of the next get* method call. * Sets the result of the next get* method call.