Remove useless capture

This commit is contained in:
Nicolas Werner 2021-01-06 11:24:35 +01:00
parent 0c0c69074d
commit f3b6e994d0

View file

@ -54,7 +54,7 @@ QSharedPointer<UserSettings> UserSettings::instance_;
UserSettings::UserSettings() UserSettings::UserSettings()
{ {
connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, [this]() { connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, []() {
instance_.clear(); instance_.clear();
}); });
} }