mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-20 13:18:06 +00:00
fix(app): remove useless this capture in lambda
This commit is contained in:
parent
313aa68273
commit
b59e8c29a8
1 changed files with 5 additions and 5 deletions
|
|
@ -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()));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue