OSDN Git Service

fix recursion in QDesignerDialogGuiInterface::getOpenImageFileNames
authorIvailo Monev <xakepa10@laimg.moc>
Tue, 7 May 2019 05:18:39 +0000 (05:18 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Tue, 7 May 2019 05:18:39 +0000 (05:18 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/designer/sdk/abstractdialoggui.cpp
src/designer/sdk/abstractdialoggui_p.h

index d54e2cd..219950b 100644 (file)
@@ -148,7 +148,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);
 }
 
 /*!
index 63cab07..d1b0770 100644 (file)
@@ -61,8 +61,6 @@ QT_BEGIN_HEADER
 
 QT_BEGIN_NAMESPACE
 
-class QWidget;
-
 class QDESIGNER_SDK_EXPORT QDesignerDialogGuiInterface
 {
     Q_DISABLE_COPY(QDesignerDialogGuiInterface)