Skip to content

Commit

Permalink
fix minor code issue
Browse files Browse the repository at this point in the history
git-svn-id: svn://scribus.net/trunk/Scribus@20335 11d20701-8431-0410-a711-e3c959e3b870
  • Loading branch information
Jean Ghali committed Aug 16, 2015
1 parent 0aa1da1 commit 72ed8e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scribus/plugins/barcodegenerator/barcodegenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ bool BarcodeGenerator::paintBarcode(const QString &fileName, int dpi)
gargs.append( psFile );
qApp->changeOverrideCursor(Qt::WaitCursor);
QFile::remove(realFile);
int gs = callGS(gargs,NULL,fileStdErr,fileStdOut);
int gs = callGS(gargs, QString(), fileStdErr, fileStdOut);
bool retval = gs==0 && QFile::exists(realFile); // GS returns 0 for BWIPP-handled errors
qApp->changeOverrideCursor(Qt::ArrowCursor);
// qApp->restoreOverrideCursor();
Expand Down

0 comments on commit 72ed8e7

Please sign in to comment.