mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
linting fix
This commit is contained in:
parent
c2a56fc233
commit
04b920fbee
2 changed files with 4 additions and 4 deletions
|
@ -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(
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue