Skip to content

Commit

Permalink
Rollback to Qt5 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrePTJ committed Jun 30, 2024
1 parent 26c02f9 commit 0f3cbe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/settingsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SettingsDialog::SettingsDialog(const std::shared_ptr<DesktopEventsMonitor>& desk

auto addLanguage = [cbLanguage = mUi->cbLanguage](const QString& language) {
QLocale locale(language);
cbLanguage->addItem(QString("%1 [%2]").arg(QLocale::languageToString(locale.language()), QLocale::territoryToString(locale.territory())), locale);
cbLanguage->addItem(QString("%1 [%2]").arg(QLocale::languageToString(locale.language()), QLocale::countryToString(locale.country())), locale);
};

mActToggleTokenVisible = mUi->leToken->addAction(QIcon(":/icons/visible-off"), QLineEdit::TrailingPosition);
Expand Down

0 comments on commit 0f3cbe6

Please sign in to comment.