mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Remove useless capture
This commit is contained in:
parent
0c0c69074d
commit
f3b6e994d0
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ QSharedPointer<UserSettings> UserSettings::instance_;
|
|||
|
||||
UserSettings::UserSettings()
|
||||
{
|
||||
connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, [this]() {
|
||||
connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, []() {
|
||||
instance_.clear();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue