[qet] [4726] Bug fix : Picture insert file choose dialog do not display *.jpeg files

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4726
Author:   scorpio810
Date:     2016-09-26 20:54:50 +0200 (Mon, 26 Sep 2016)
Log Message:
-----------
Bug fix : Picture insert file choose dialog do not display *.jpeg files

Modified Paths:
--------------
    trunk/sources/diagramevent/diagrameventaddimage.cpp

Modified: trunk/sources/diagramevent/diagrameventaddimage.cpp
===================================================================
--- trunk/sources/diagramevent/diagrameventaddimage.cpp	2016-09-26 00:46:02 UTC (rev 4725)
+++ trunk/sources/diagramevent/diagrameventaddimage.cpp	2016-09-26 18:54:50 UTC (rev 4726)
@@ -157,7 +157,7 @@
 
         //Open dialog for select image
     QString pathPictures = QStandardPaths::writableLocation(QStandardPaths::PicturesLocation);
-    QString fileName = QFileDialog::getOpenFileName(m_diagram->views().isEmpty()? nullptr : m_diagram->views().first(), QObject::tr("Selectionner une image..."), pathPictures, QObject::tr("Image Files (*.png *.jpg *.bmp *.svg)"));
+    QString fileName = QFileDialog::getOpenFileName(m_diagram->views().isEmpty()? nullptr : m_diagram->views().first(), QObject::tr("Selectionner une image..."), pathPictures, QObject::tr("Image Files (*.png *.jpg  *.jpeg *.bmp *.svg)"));
 
     if (fileName.isEmpty()) return;
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/