Closed GoogleCodeExporter closed 9 years ago
Original comment by contact@medecinelibre.com
on 16 Nov 2013 at 6:49
Good report !
As you can see the filter is not complete (only filtering .jpg not .jpEg). If
you want to correct this yourself, you can edit the
plugins/patientbaseplugin/filephotoprovider.cpp
Find the lines
void FilePhotoProvider::startReceivingPhoto()
{
QString fileName = QFileDialog::getOpenFileName(QApplication::activeWindow(), tr("Choose a photo"),
QDir::homePath(),
"Image (*.png *.jpg *.gif *.tiff)");
if (!fileName.isEmpty()) {
QPixmap photo;
photo.load(fileName);
Q_EMIT photoReady(photo);
}
}
And try to guess where the problem is ;)
"Une piste"
http://qt-project.org/doc/qt-5.0/qtwidgets/qfiledialog.html
Original comment by eric.mae...@gmail.com
on 16 Nov 2013 at 7:44
Fixed, closed.
Original comment by contact@medecinelibre.com
on 28 Mar 2014 at 11:14
Original issue reported on code.google.com by
contact@medecinelibre.com
on 16 Nov 2013 at 6:46