aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/platform/qquickplatformfiledialog_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-08-15 14:36:02 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-08-15 12:47:36 +0000
commit8793cba8aab832a03ed0f608114d83765a02a8ec (patch)
tree639058d38fa38132a498ddadae5218ce30058e7e /src/imports/platform/qquickplatformfiledialog_p.h
parent748a9418544e25c2abc6e3eb8862517bea091e7d (diff)
Platform dialogs: cleanup creation
Now that we know the type and whether it should be native, it can be all done in the base class to reduce a lot of code duplication. Change-Id: I7d7d7057fa499df75b72914d2b505bfa0288048d Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/platform/qquickplatformfiledialog_p.h')
-rw-r--r--src/imports/platform/qquickplatformfiledialog_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/platform/qquickplatformfiledialog_p.h b/src/imports/platform/qquickplatformfiledialog_p.h
index bd849a3f..a4c61c54 100644
--- a/src/imports/platform/qquickplatformfiledialog_p.h
+++ b/src/imports/platform/qquickplatformfiledialog_p.h
@@ -138,7 +138,7 @@ Q_SIGNALS:
protected:
bool useNativeDialog() const override;
- QPlatformDialogHelper *onCreate() override;
+ void onCreate(QPlatformDialogHelper *dialog) override;
void onShow(QPlatformDialogHelper *dialog) override;
void accept() override;