Commit b59e8c29 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(app): remove useless this capture in lambda

parent 313aa682
...@@ -167,11 +167,11 @@ void App::initContentApp () { ...@@ -167,11 +167,11 @@ void App::initContentApp () {
setQuitOnLastWindowClosed(false); setQuitOnLastWindowClosed(false);
// Deal with received messages and CLI. // Deal with received messages and CLI.
QObject::connect(this, &App::receivedMessage, this, [this](int, const QByteArray &byteArray) { QObject::connect(this, &App::receivedMessage, this, [](int, const QByteArray &byteArray) {
QString command(byteArray); QString command(byteArray);
qInfo() << QStringLiteral("Received command from other application: `%1`.").arg(command); qInfo() << QStringLiteral("Received command from other application: `%1`.").arg(command);
Cli::executeCommand(command); Cli::executeCommand(command);
}); });
// Add plugins directory. // Add plugins directory.
addLibraryPath(::Utils::coreStringToAppString(Paths::getPluginsDirPath())); addLibraryPath(::Utils::coreStringToAppString(Paths::getPluginsDirPath()));
......
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