mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Fix unused capture warning
This commit is contained in:
parent
2a858d84e2
commit
935abee62e
1 changed files with 2 additions and 2 deletions
|
@ -244,7 +244,7 @@ UserProfile::changeUsername(QString username)
|
|||
if (isGlobalUserProfile()) {
|
||||
// change global
|
||||
http::client()->set_displayname(
|
||||
username.toStdString(), [this](mtx::http::RequestErr err) {
|
||||
username.toStdString(), [](mtx::http::RequestErr err) {
|
||||
if (err) {
|
||||
nhlog::net()->warn("could not change username");
|
||||
return;
|
||||
|
@ -293,4 +293,4 @@ UserProfile::setGlobalUsername(const QString &globalUser)
|
|||
{
|
||||
globalUsername = globalUser;
|
||||
emit displayNameChanged();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue