mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-19 02:47:06 +00:00
Make command line version compile with MS-VC6 and QT-Version with MS-VC8
This commit is contained in:
@@ -146,9 +146,15 @@ bool MainWindow::save()
|
||||
{
|
||||
bool status;
|
||||
|
||||
#ifdef NO_PNG
|
||||
QString fileName = QFileDialog::getSaveFileName(this,
|
||||
tr("Save Barcode Image"), ".",
|
||||
tr("Encapsulated Post Script (*.eps);;Scalable Vector Graphic (*.svg)"));
|
||||
#else
|
||||
QString fileName = QFileDialog::getSaveFileName(this,
|
||||
tr("Save Barcode Image"), ".",
|
||||
tr("Portable Network Graphic (*.png);;Encapsulated Post Script (*.eps);;Scalable Vector Graphic (*.svg)"));
|
||||
#endif
|
||||
|
||||
if (fileName.isEmpty())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user