diff --git a/src/lib/gui/core/CoreProcess.cpp b/src/lib/gui/core/CoreProcess.cpp index b46ff3c06..fd27832a4 100644 --- a/src/lib/gui/core/CoreProcess.cpp +++ b/src/lib/gui/core/CoreProcess.cpp @@ -77,7 +77,7 @@ QString processStateToString(CoreProcess::ProcessState state) * Can also be used to create a representation of a command that can be pasted * into a terminal. */ -QString makeQuotedArgs(const QString &app, const QStringList &args) +QString CoreProcess::makeQuotedArgs(const QString &app, const QStringList &args) { QStringList command; command << app; diff --git a/src/lib/gui/core/CoreProcess.h b/src/lib/gui/core/CoreProcess.h index cd5cb49d9..2e0d5f987 100644 --- a/src/lib/gui/core/CoreProcess.h +++ b/src/lib/gui/core/CoreProcess.h @@ -128,6 +128,7 @@ private: QString correctedAddress() const; QString requestDaemonLogPath(); void persistLogDir() const; + static QString makeQuotedArgs(const QString &app, const QStringList &args); #ifdef Q_OS_MAC void checkOSXNotification(const QString &line);