linting fix

This commit is contained in:
Jedi18 2021-02-07 22:18:04 +05:30
parent c2a56fc233
commit 04b920fbee
2 changed files with 4 additions and 4 deletions

View file

@ -741,8 +741,7 @@ UserSettingsPage::UserSettingsPage(QSharedPointer<UserSettings> settings, QWidge
fontSelectionCombo_->setCurrentIndex( fontSelectionCombo_->setCurrentIndex(
fontSelectionCombo_->findText(tr(currentFont.toStdString().c_str()))); fontSelectionCombo_->findText(tr(currentFont.toStdString().c_str())));
} else { } else {
fontSelectionCombo_->setCurrentIndex( fontSelectionCombo_->setCurrentIndex(fontSelectionCombo_->findText(currentFont));
fontSelectionCombo_->findText(currentFont));
} }
emojiFontSelectionCombo_->setCurrentIndex( emojiFontSelectionCombo_->setCurrentIndex(

View file

@ -177,7 +177,8 @@ public:
int timelineMaxWidth() const { return timelineMaxWidth_; } int timelineMaxWidth() const { return timelineMaxWidth_; }
double fontSize() const { return baseFontSize_; } double fontSize() const { return baseFontSize_; }
QString font() const { return font_; } QString font() const { return font_; }
QString emojiFont() const { QString emojiFont() const
{
if (emojiFont_ == "Default") { if (emojiFont_ == "Default") {
return tr("Default"); return tr("Default");
} }