Remove useless capture
This commit is contained in:
parent
0c0c69074d
commit
f3b6e994d0
@ -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 New Issue
Block a user