DolphinQt/GameTracker: Remove unused lambda capture in constructor

This resolves a -Wunused-lambda-capture warning
This commit is contained in:
Lioncash 2018-07-06 19:57:24 -04:00
parent 34c3a65de6
commit 935a273cf1
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ GameTracker::GameTracker(QObject* parent) : QFileSystemWatcher(parent)
connect(this, &QFileSystemWatcher::directoryChanged, this, &GameTracker::UpdateDirectory); connect(this, &QFileSystemWatcher::directoryChanged, this, &GameTracker::UpdateDirectory);
connect(this, &QFileSystemWatcher::fileChanged, this, &GameTracker::UpdateFile); connect(this, &QFileSystemWatcher::fileChanged, this, &GameTracker::UpdateFile);
connect(&Settings::Instance(), &Settings::AutoRefreshToggled, this, [this] { connect(&Settings::Instance(), &Settings::AutoRefreshToggled, this, [] {
const auto paths = Settings::Instance().GetPaths(); const auto paths = Settings::Instance().GetPaths();
for (const auto& path : paths) for (const auto& path : paths)