summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qfiledialog.cpp
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-06-15 13:24:53 (GMT)
committerHarald Fernengel <harald@trolltech.com>2009-06-15 13:24:53 (GMT)
commitebbb3f553bf9f882bfb732391d46494ea02d5569 (patch)
treef0c5526e9fde5a171296a0528f28140c89e3b668 /src/gui/dialogs/qfiledialog.cpp
parent3230496d13fd36a732b7a32914cac66dda7f4461 (diff)
downloadQt-ebbb3f553bf9f882bfb732391d46494ea02d5569.zip
Qt-ebbb3f553bf9f882bfb732391d46494ea02d5569.tar.gz
Qt-ebbb3f553bf9f882bfb732391d46494ea02d5569.tar.bz2
Remove compiler warning on Qt/Windows
The QFileDialogPrivate constructor must be non-inline. RevBy: aportale
Diffstat (limited to 'src/gui/dialogs/qfiledialog.cpp')
-rw-r--r--src/gui/dialogs/qfiledialog.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/gui/dialogs/qfiledialog.cpp b/src/gui/dialogs/qfiledialog.cpp
index 60d3034..9768162 100644
--- a/src/gui/dialogs/qfiledialog.cpp
+++ b/src/gui/dialogs/qfiledialog.cpp
@@ -487,6 +487,34 @@ void QFileDialog::changeEvent(QEvent *e)
QDialog::changeEvent(e);
}
+QFileDialogPrivate::QFileDialogPrivate()
+ :
+#ifndef QT_NO_PROXYMODEL
+ proxyModel(0),
+#endif
+ model(0),
+ fileMode(QFileDialog::AnyFile),
+ acceptMode(QFileDialog::AcceptOpen),
+ currentHistoryLocation(-1),
+ renameAction(0),
+ deleteAction(0),
+ showHiddenAction(0),
+ useDefaultCaption(true),
+ defaultFileTypes(true),
+ fileNameLabelExplicitlySat(false),
+ nativeDialogInUse(false),
+#ifdef Q_WS_MAC
+ mDelegate(0),
+#ifndef QT_MAC_USE_COCOA
+ mDialog(0),
+ mDialogStarted(false),
+ mDialogClosed(true),
+#endif
+#endif
+ qFileDialogUi(0)
+{
+}
+
QFileDialogPrivate::~QFileDialogPrivate()
{
}