|
|
@ -101,6 +101,12 @@ const std::map<Settings::RendererBackend, QString> Config::renderer_backend_text |
|
|
{Settings::RendererBackend::Null, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Null"))}, |
|
|
{Settings::RendererBackend::Null, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Null"))}, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const std::map<Settings::ShaderBackend, QString> Config::shader_backend_texts_map = { |
|
|
|
|
|
{Settings::ShaderBackend::GLSL, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "GLSL"))}, |
|
|
|
|
|
{Settings::ShaderBackend::GLASM, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "GLASM"))}, |
|
|
|
|
|
{Settings::ShaderBackend::SPIRV, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "SPIRV"))}, |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
// This shouldn't have anything except static initializers (no functions). So
|
|
|
// This shouldn't have anything except static initializers (no functions). So
|
|
|
// QKeySequence(...).toString() is NOT ALLOWED HERE.
|
|
|
// QKeySequence(...).toString() is NOT ALLOWED HERE.
|
|
|
// This must be in alphabetical order according to action name as it must have the same order as
|
|
|
// This must be in alphabetical order according to action name as it must have the same order as
|
|
|
|