mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
DolphinQt: Fix some warnings
This commit is contained in:
@ -361,7 +361,7 @@ void GameList::ShowContextMenu(const QPoint&)
|
||||
tag_action->setCheckable(true);
|
||||
tag_action->setChecked(game_tags.contains(tag));
|
||||
|
||||
connect(tag_action, &QAction::toggled, this, [this, path, tag, model](bool checked) {
|
||||
connect(tag_action, &QAction::toggled, [path, tag, model](bool checked) {
|
||||
if (!checked)
|
||||
model->RemoveGameTag(path, tag);
|
||||
else
|
||||
|
@ -73,7 +73,7 @@ GameTracker::GameTracker(QObject* parent) : QFileSystemWatcher(parent)
|
||||
[this](const std::shared_ptr<const UICommon::GameFile>& game) {
|
||||
emit GameUpdated(game);
|
||||
});
|
||||
QueueOnObject(this, [this] { Settings::Instance().NotifyMetadataRefreshComplete(); });
|
||||
QueueOnObject(this, [] { Settings::Instance().NotifyMetadataRefreshComplete(); });
|
||||
break;
|
||||
case CommandType::PurgeCache:
|
||||
m_cache.Clear(UICommon::GameFileCache::DeleteOnDisk::Yes);
|
||||
@ -136,7 +136,7 @@ void GameTracker::StartInternal()
|
||||
if (cache_updated)
|
||||
m_cache.Save();
|
||||
|
||||
QueueOnObject(this, [this] { Settings::Instance().NotifyMetadataRefreshComplete(); });
|
||||
QueueOnObject(this, [] { Settings::Instance().NotifyMetadataRefreshComplete(); });
|
||||
}
|
||||
|
||||
bool GameTracker::AddPath(const QString& dir)
|
||||
|
Reference in New Issue
Block a user