summary refs log tree commit diff
path: root/src/ui/UserProfile.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-02 12:57:21 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-02 12:57:21 -0500
commit935abee62e7165debd05e521244934a648e0d7c9 (patch)
tree93b3a925978492367314564992826ac846a8651e /src/ui/UserProfile.cpp
parentUpdate format script again (diff)
downloadnheko-935abee62e7165debd05e521244934a648e0d7c9.tar.xz
Fix unused capture warning
Diffstat (limited to 'src/ui/UserProfile.cpp')
-rw-r--r--src/ui/UserProfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp

index 3872294a..de02bf5e 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp
@@ -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(); -} \ No newline at end of file +}