summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2016-01-06 22:25:30 +0100
committerJosJuice <josjuice@gmail.com>2016-01-06 22:25:30 +0100
commitdcde91cdd8e8105fe38ec04c9ff47798cdf5d626 (patch)
treeb3d0130e987ea9206af8be019659456d6908d1cb /Source/Core/VideoCommon/VideoConfig.cpp
parent87e753b104375d0983071f144638f98bef6ef719 (diff)
DolphinWX: Unify the condition for the game list being empty
When there are no games to display in the game list, DolphinWX shows a message instead. Clicking the message will perform an action. If the game list truly is empty, the message and action are for opening a browse dialog, but if the user has hidden some games, they are instead for unhiding all games. However, the condition for checking which message to display lacked some parts that are in the condition for checking which action to use, so the two could be different in rare cases. This PR fixes that by breaking out the two conditions to a new unified function.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
0 files changed, 0 insertions, 0 deletions