Changeset - aa0e02ed3fd5
[Not reviewed]
default
0 2 0
Michael Guravage - 15 years ago 2010-11-30 11:39:36
michael.guravage@cwi.nl
Preface each image format extension with an asterisk so files with those
extensions to appear in the file dialogue.

--
user: Michael Guravage <michael.guravage@cwi.nl>
branch 'default'
changed src/ChangeLog
changed src/canvas.cpp
2 files changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ChangeLog
Show inline comments
 
2010-11-30    <guravage@petitdru.sen.cwi.nl>
 

	
 
	* 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.
 

	
src/canvas.cpp
Show inline comments
 
@@ -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 + " )");
0 comments (0 inline, 0 general)