Fixed a small issue with missing initialization of some theme label values.

This commit is contained in:
Leon Styhre 2020-07-28 21:10:58 +02:00
parent afe5d98c39
commit 96ea80fbcd
3 changed files with 12 additions and 0 deletions

View file

@ -259,6 +259,10 @@ void DetailedGameListView::updateInfoPanel()
mLastPlayed.setValue(file->metadata.get("lastplayed"));
mPlayCount.setValue(file->metadata.get("playcount"));
}
else {
mLastPlayed.setValue("");
mPlayCount.setValue("");
}
fadingOut = false;
}

View file

@ -387,6 +387,10 @@ void GridGameListView::updateInfoPanel()
mLastPlayed.setValue(file->metadata.get("lastplayed"));
mPlayCount.setValue(file->metadata.get("playcount"));
}
else {
mLastPlayed.setValue("");
mPlayCount.setValue("");
}
fadingOut = false;
}

View file

@ -303,6 +303,10 @@ void VideoGameListView::updateInfoPanel()
mLastPlayed.setValue(file->metadata.get("lastplayed"));
mPlayCount.setValue(file->metadata.get("playcount"));
}
else {
mLastPlayed.setValue("");
mPlayCount.setValue("");
}
fadingOut = false;
}