cutter/src/dialogs/preferences
Kārlis Seņko 8da572d6ec Fix crash due to language handling when opening settings.
Qt doesn't have native language name for some of them. Trying to
capitalize it caused crash.

Use `QLocale(QString)` constructor instead of manually looping and
comparing. The old code incorrectly matched "tr" as "trv".

Don't try to capitalize language name:
* In many cases Qt already returns it capitalized
* capitalization doesn't make sense for some scripts
* in general case splitting first "character" is a hard problem
* in some languages even with latin based scripts name of language isn't
a proper noun which needs to be capitalized
2021-04-24 13:13:36 +03:00
..
AnalOptionsWidget.cpp Apply clang-format 2021-01-24 18:34:16 +02:00
AnalOptionsWidget.h Apply clang-format 2021-01-24 18:34:16 +02:00
AnalOptionsWidget.ui Update Rizin 2020-12-08 10:46:30 +01:00
AppearanceOptionsWidget.cpp Fix crash due to language handling when opening settings. 2021-04-24 13:13:36 +03:00
AppearanceOptionsWidget.h Apply clang-format 2021-01-24 18:34:16 +02:00
AppearanceOptionsWidget.ui Create SyntaxHighlighter based on RAnnotatedCode. (#2409) 2020-08-31 09:00:55 +03:00
AsmOptionsWidget.cpp Apply clang-format 2021-01-24 18:34:16 +02:00
AsmOptionsWidget.h Apply clang-format 2021-01-24 18:34:16 +02:00
AsmOptionsWidget.ui Port to Rizin 2020-12-07 09:17:56 +01:00
ColorThemeEditDialog.cpp Apply clang-format 2021-01-24 18:34:16 +02:00
ColorThemeEditDialog.h Interface theme and theme features refactoring (#1598) 2019-06-12 20:46:07 +03:00
ColorThemeEditDialog.ui Add search color option feature + sort color options by name (#1803) 2019-10-01 10:39:59 +03:00
DebugOptionsWidget.cpp Add dbg.trace_continue to debug options (#2613) 2021-02-26 19:03:28 +02:00
DebugOptionsWidget.h Add dbg.trace_continue to debug options (#2613) 2021-02-26 19:03:28 +02:00
DebugOptionsWidget.ui Add dbg.trace_continue to debug options (#2613) 2021-02-26 19:03:28 +02:00
GraphOptionsWidget.cpp Apply clang-format 2021-01-24 18:34:16 +02:00
GraphOptionsWidget.h Apply clang-format 2021-01-24 18:34:16 +02:00
GraphOptionsWidget.ui Add Setting for Minimum Font Size in Graphs (#2524) 2020-12-19 16:04:48 +02:00
InitializationFileEditor.cpp Apply clang-format 2021-01-24 18:34:16 +02:00
InitializationFileEditor.h Apply clang-format 2021-01-24 18:34:16 +02:00
InitializationFileEditor.ui Cutter RC Editor - Part B (basic editor) (#2162) 2020-05-20 23:38:20 +03:00
PluginsOptionsWidget.cpp Apply clang-format 2021-01-24 18:34:16 +02:00
PluginsOptionsWidget.h Apply clang-format 2021-01-24 18:34:16 +02:00
PreferenceCategory.cpp Apply clang-format 2021-01-24 18:34:16 +02:00
PreferenceCategory.h Apply clang-format 2021-01-24 18:34:16 +02:00
PreferencesDialog.cpp Apply clang-format 2021-01-24 18:34:16 +02:00
PreferencesDialog.h Apply clang-format 2021-01-24 18:34:16 +02:00
PreferencesDialog.ui Add tree-structured config dialog (#489) 2018-05-13 09:52:49 +02:00