Fix uninitialized variables

This commit is contained in:
Jonas Kvinge
2021-03-26 21:30:13 +01:00
parent 8a39a43ad5
commit 14fb647647
27 changed files with 64 additions and 65 deletions

View File

@@ -303,7 +303,7 @@ void NotificationsSettingsPage::ChooseFgColor() {
void NotificationsSettingsPage::ChooseFont() {
bool ok;
bool ok = false;
QFont font = QFontDialog::getFont(&ok, pretty_popup_->font(), this);
if (ok) {
pretty_popup_->set_font(font);