mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Fixed a potential problem with an uninitialized variable.
This commit is contained in:
parent
afa175b437
commit
9738957253
|
@ -324,7 +324,7 @@ void DetailedGameListView::updateInfoPanel()
|
|||
mPlayCount.setVisible(true);
|
||||
}
|
||||
|
||||
bool fadingOut;
|
||||
bool fadingOut = false;
|
||||
if (file == nullptr) {
|
||||
fadingOut = true;
|
||||
}
|
||||
|
|
|
@ -446,7 +446,7 @@ void GridGameListView::updateInfoPanel()
|
|||
mPlayCount.setVisible(true);
|
||||
}
|
||||
|
||||
bool fadingOut;
|
||||
bool fadingOut = false;
|
||||
if (file == nullptr) {
|
||||
fadingOut = true;
|
||||
}
|
||||
|
|
|
@ -349,7 +349,7 @@ void VideoGameListView::updateInfoPanel()
|
|||
mPlayCount.setVisible(true);
|
||||
}
|
||||
|
||||
bool fadingOut;
|
||||
bool fadingOut = false;
|
||||
if (file == nullptr) {
|
||||
mVideoPlaying = false;
|
||||
fadingOut = true;
|
||||
|
|
Loading…
Reference in a new issue