summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-26 17:30:19 -0500
committerLioncash <mathew1800@gmail.com>2018-12-26 17:36:36 -0500
commitfaa9110541fb38a3edb67eed418982785923044f (patch)
tree7893dd9688d1712343fe479f2d00bbf0fc999cdd /src/core/loader/loader.h
parent8047873a66146ae25e9707796b16062ed00e60b7 (diff)
configure_input_simple: Make input profile array constexpr
Calling tr() from a file-scope array isn't advisable, since it can be executed before the Qt libraries are even fully initialized, which can lead to crashes. Instead, the translatable strings should be annotated, and the tr() function should be called at the string's usage site.
Diffstat (limited to 'src/core/loader/loader.h')
0 files changed, 0 insertions, 0 deletions