refactor: makeQuotedArgs is now a static private member or CoreProcess
This commit is contained in:
parent
8d0c368c8f
commit
bb1e2ecc78
2 changed files with 2 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ QString processStateToString(CoreProcess::ProcessState state)
|
||||||
* Can also be used to create a representation of a command that can be pasted
|
* Can also be used to create a representation of a command that can be pasted
|
||||||
* into a terminal.
|
* into a terminal.
|
||||||
*/
|
*/
|
||||||
QString makeQuotedArgs(const QString &app, const QStringList &args)
|
QString CoreProcess::makeQuotedArgs(const QString &app, const QStringList &args)
|
||||||
{
|
{
|
||||||
QStringList command;
|
QStringList command;
|
||||||
command << app;
|
command << app;
|
||||||
|
|
|
||||||
|
|
@ -128,6 +128,7 @@ private:
|
||||||
QString correctedAddress() const;
|
QString correctedAddress() const;
|
||||||
QString requestDaemonLogPath();
|
QString requestDaemonLogPath();
|
||||||
void persistLogDir() const;
|
void persistLogDir() const;
|
||||||
|
static QString makeQuotedArgs(const QString &app, const QStringList &args);
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
void checkOSXNotification(const QString &line);
|
void checkOSXNotification(const QString &line);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue