parent
9b679d7c3e
commit
0b407792d7
|
@ -48,6 +48,9 @@
|
|||
- [#582] Issue with standard path to shared data on Linux.
|
||||
- [#595] GapWidth affecting to the margins.
|
||||
|
||||
# Version 0.4.6
|
||||
- [#594] Broken export on Mac.
|
||||
|
||||
# Version 0.4.5 October 15, 2016
|
||||
- [#435] Valentina doesn't change the cursor.
|
||||
- [#473] Tape 'Preferences' cause loss of focus.
|
||||
|
|
|
@ -739,7 +739,13 @@ void MainWindowsNoGUI::PdfToPs(const QStringList ¶ms) const
|
|||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
#endif
|
||||
QProcess proc;
|
||||
#if defined(Q_OS_MAC)
|
||||
// Fix issue #594. Broken export on Mac.
|
||||
proc.setWorkingDirectory(qApp->applicationDirPath());
|
||||
proc.start(QLatin1String("./") + PDFTOPS, params);
|
||||
#else
|
||||
proc.start(PDFTOPS, params);
|
||||
#endif
|
||||
if (proc.waitForStarted(15000))
|
||||
{
|
||||
proc.waitForFinished(15000);
|
||||
|
|
Loading…
Reference in New Issue
Block a user