mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-13 09:12:27 +01:00
Remove useless variable and cleanup comments
This commit is contained in:
parent
d4b96557b8
commit
4d1a2c75c6
src/citra_qt
@ -3519,7 +3519,6 @@ void GMainWindow::LoadTranslation() {
|
||||
|
||||
if (language.isEmpty()) {
|
||||
#ifdef _WIN32
|
||||
// Use Windows API to get the active display language
|
||||
LANGID lang_id = GetUserDefaultUILanguage();
|
||||
wchar_t locale_name[LOCALE_NAME_MAX_LENGTH];
|
||||
|
||||
@ -3537,7 +3536,7 @@ void GMainWindow::LoadTranslation() {
|
||||
#endif
|
||||
}
|
||||
|
||||
// Replace dashes with underscores for compatibility with translation files
|
||||
// For compatibility with translation files
|
||||
language.replace(QLatin1Char('-'), QLatin1Char('_'));
|
||||
|
||||
bool loaded = translator.load(language, QStringLiteral(":/languages/"));
|
||||
|
@ -321,9 +321,6 @@ private:
|
||||
GameListPlaceholder* game_list_placeholder;
|
||||
LoadingScreen* loading_screen;
|
||||
|
||||
// General
|
||||
QString current_language;
|
||||
|
||||
// Status bar elements
|
||||
QProgressBar* progress_bar = nullptr;
|
||||
QLabel* message_label = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user