diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-04-07 16:04:35 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-04-07 15:03:39 +0000 |
commit | f35d2e53eccf783aec3db59b7f24ff80b9333b9f (patch) | |
tree | ba274e19fce591ca1e41fa4802d66a67f1364c87 | |
parent | 4ee403ade29c341001ed769ad9bfcf34b37f32a3 (diff) | |
download | qttools-f35d2e53eccf783aec3db59b7f24ff80b9333b9f.tar.gz |
QDesignerDialogGuiInterface: Remove endless recursion.
Fix Clang warning:
sdk\abstractdialoggui.cpp(142,1) : warning: all paths through this function will call itself [-Winfinite-recursion]
The code did not have any effect since the function was overridden
in a derived class.
Change-Id: Iee86cc50b61b1329fe1997d2f412bfb9395ceed7
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
-rw-r--r-- | src/designer/src/lib/sdk/abstractdialoggui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/lib/sdk/abstractdialoggui.cpp b/src/designer/src/lib/sdk/abstractdialoggui.cpp index 08a6c0841..0bad7248a 100644 --- a/src/designer/src/lib/sdk/abstractdialoggui.cpp +++ b/src/designer/src/lib/sdk/abstractdialoggui.cpp @@ -140,7 +140,7 @@ QString QDesignerDialogGuiInterface::getOpenImageFileName(QWidget *parent, const QStringList QDesignerDialogGuiInterface::getOpenImageFileNames(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options) { - return getOpenImageFileNames(parent, caption, dir, filter, selectedFilter, options); + return getOpenFileNames(parent, caption, dir, filter, selectedFilter, options); } /*! |