From b59e8c29a8c99c4fbcdbc1ae8d123db2b228e2fd Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 22 Jan 2018 09:21:00 +0100 Subject: [PATCH] fix(app): remove useless this capture in lambda --- src/app/App.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/App.cpp b/src/app/App.cpp index b1fd9ac11..ed87fbf7f 100644 --- a/src/app/App.cpp +++ b/src/app/App.cpp @@ -167,11 +167,11 @@ void App::initContentApp () { setQuitOnLastWindowClosed(false); // Deal with received messages and CLI. - QObject::connect(this, &App::receivedMessage, this, [this](int, const QByteArray &byteArray) { - QString command(byteArray); - qInfo() << QStringLiteral("Received command from other application: `%1`.").arg(command); - Cli::executeCommand(command); - }); + QObject::connect(this, &App::receivedMessage, this, [](int, const QByteArray &byteArray) { + QString command(byteArray); + qInfo() << QStringLiteral("Received command from other application: `%1`.").arg(command); + Cli::executeCommand(command); + }); // Add plugins directory. addLibraryPath(::Utils::coreStringToAppString(Paths::getPluginsDirPath()));