DolphinQt/GameTracker: Remove unused lambda capture in constructor
This resolves a -Wunused-lambda-capture warning
This commit is contained in:
parent
34c3a65de6
commit
935a273cf1
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue