summaryrefslogtreecommitdiff
path: root/src/yuzu/about_dialog.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-24 10:56:16 -0400
committerLioncash <mathew1800@gmail.com>2018-10-24 11:01:23 -0400
commit030847d5fa765e00acb96ba8c12bb74f20553c23 (patch)
tree9ae39445a445dc7c8091615a0a915e8066985c0c /src/yuzu/about_dialog.cpp
parent77e705a8fa0a70dac2eb81b95fedc5e98d7c274e (diff)
graphic_breakpoints: Correct translation of strings in BreakpointModel's data() function
tr() will not function properly on static/global data like this, as the object is only ever constructed once, so the strings won't translate if the language is changed without restarting the program, which is undesirable. Instead we can just turn the map into a plain old function that maps the values to their equivalent strings. This is also lessens the memory allocated, since it's only allocating memory for the strings themselves, and not an encompassing map as well.
Diffstat (limited to 'src/yuzu/about_dialog.cpp')
0 files changed, 0 insertions, 0 deletions