Add signals to enable/disable Refresh button

Makes it impossible to spam Refresh button and looks better overall.
This commit is contained in:
Silent 2019-10-09 23:51:49 +02:00
commit 68694e0039
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1
5 changed files with 36 additions and 9 deletions

View file

@ -141,6 +141,11 @@ void Settings::RefreshGameList()
emit GameListRefreshRequested();
}
void Settings::NotifyRefreshGameListComplete()
{
emit GameListRefreshCompleted();
}
void Settings::RefreshMetadata()
{
emit MetadataRefreshRequested();