From 15e731671f9471390d7ccf95c7eb5bbda8c25f95 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 8 Jul 2020 13:08:05 +0300 Subject: [PATCH] error: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead. --- src/app/valentina/dialogs/dialogsavelayout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/valentina/dialogs/dialogsavelayout.cpp b/src/app/valentina/dialogs/dialogsavelayout.cpp index ecac7451b..c17f43f19 100644 --- a/src/app/valentina/dialogs/dialogsavelayout.cpp +++ b/src/app/valentina/dialogs/dialogsavelayout.cpp @@ -806,9 +806,9 @@ bool DialogSaveLayout::TestPdf() QProcess proc; #if defined(Q_OS_WIN) || defined(Q_OS_OSX) // Seek pdftops in app bundle or near valentin.exe - proc.start(qApp->applicationDirPath() + QLatin1String("/")+ PDFTOPS); + proc.start(qApp->applicationDirPath() + QLatin1String("/")+ PDFTOPS, QStringList()); #else - proc.start(PDFTOPS); // Seek pdftops in standard path + proc.start(PDFTOPS, QStringList()); // Seek pdftops in standard path #endif if (proc.waitForStarted(15000) && (proc.waitForFinished(15000) || proc.state() == QProcess::NotRunning)) {