365d8c57c7
Placing the array wholesale into the header places a copy of the whole array into every translation unit that uses the data, which is wasteful. Particularly given that this array is referenced from three different translation units. This also changes the array to contain pairs of const char*, rather than QString instances. This way, the string data is able to be fixed into the read-only segment of the program, as well as eliminate static constructors/heap allocation immediately on program start. |
||
---|---|---|
.. | ||
config.cpp | ||
config.h | ||
configure.ui | ||
configure_audio.cpp | ||
configure_audio.h | ||
configure_audio.ui | ||
configure_camera.cpp | ||
configure_camera.h | ||
configure_camera.ui | ||
configure_debug.cpp | ||
configure_debug.h | ||
configure_debug.ui | ||
configure_dialog.cpp | ||
configure_dialog.h | ||
configure_general.cpp | ||
configure_general.h | ||
configure_general.ui | ||
configure_graphics.cpp | ||
configure_graphics.h | ||
configure_graphics.ui | ||
configure_input.cpp | ||
configure_input.h | ||
configure_input.ui | ||
configure_motion_touch.cpp | ||
configure_motion_touch.h | ||
configure_motion_touch.ui | ||
configure_system.cpp | ||
configure_system.h | ||
configure_system.ui | ||
configure_web.cpp | ||
configure_web.h | ||
configure_web.ui |