mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-16 16:14:36 -04:00
Make command line version compile with MS-VC6 and QT-Version with MS-VC8
This commit is contained in:
parent
2e5fe31ebf
commit
b7b7564457
14 changed files with 198 additions and 52 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue