# HG changeset patch # User Michael Guravage # Date 2010-11-30 11:39:36 # Node ID aa0e02ed3fd54c37017298033c021796b0c73e9d # Parent 98a2c6cae168336d5cf4fb127a584060fdc13e4f Preface each image format extension with an asterisk so files with those extensions to appear in the file dialogue. -- user: Michael Guravage branch 'default' changed src/ChangeLog changed src/canvas.cpp diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2010-11-30 + * canvas.cpp (snapshot): Preface each image format extension with + an asterisk so files with those extensions to appear in the file + dialogue. + * VirtualLeaf-install-windows.nsi: Include imageformats folder alongside executable. diff --git a/src/canvas.cpp b/src/canvas.cpp --- a/src/canvas.cpp +++ b/src/canvas.cpp @@ -740,7 +740,7 @@ void Main::snapshot() QString supported_file_formats = " .pdf"; foreach (QString format, QImageWriter::supportedImageFormats()){ - supported_file_formats += (" ." + format); + supported_file_formats += (" *." + format); } fd->setFilter("Image files (" + supported_file_formats + " )");