Commit 7c4dbdad authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Use mulit-argument arg

parent f41883f2
......@@ -114,10 +114,10 @@ void Mounter::onPakcageReceived(const NetworkPackage& np)
else path = np.get<QString>(QStringLiteral("path"));
const QStringList arguments = QStringList()
<< QStringLiteral("%1@%2:%3")
.arg(np.get<QString>(QStringLiteral("user")))
.arg(np.get<QString>(QStringLiteral("ip")))
.arg(path)
<< QStringLiteral("%1@%2:%3").arg(
np.get<QString>(QStringLiteral("user")),
np.get<QString>(QStringLiteral("ip")),
path)
<< m_mountPoint
<< QStringLiteral("-p") << np.get<QString>(QStringLiteral("port"))
<< QStringLiteral("-f")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment