fix(app): remove useless this capture in lambda

This commit is contained in:
Ronan Abhamon 2018-01-22 09:21:00 +01:00
parent 313aa68273
commit b59e8c29a8

View file

@ -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()));