Skip to content

Commit

Permalink
fix: correct a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
saturneric committed Jul 30, 2024
1 parent 99c1b2c commit 3dd7e0f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ui/dialog/settings/SettingsAppearance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,8 @@ void AppearanceTab::SetSettings() {
ui_->themeComboBox->setCurrentIndex(
ui_->themeComboBox->findText(QApplication::style()->name()));
#else
for (const auto& metadata : module->GetModuleMetaData().asKeyValueRange()) {
info << " - " << metadata.first << ": " << metadata.second << "\n";
}
ui_->themeComboBox->setCurrentIndex(ui_->themeComboBox->findText(
QApplication::style()->metaObject()->className()));
#endif
} else {
ui_->themeComboBox->setCurrentIndex(target_theme_index);
Expand Down

0 comments on commit 3dd7e0f

Please sign in to comment.