Fix lupdate issues

Change-Id: I26f08ae82354c178f6d26f9138796328b50bfba8
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Eike Ziller
2020-03-12 13:46:25 +01:00
parent d1daf6a542
commit 9e0009803c
21 changed files with 126 additions and 105 deletions

View File

@@ -108,7 +108,7 @@ private:
class FontSettingsPageWidget : public Core::IOptionsPageWidget
{
Q_DECLARE_TR_FUNCTIONS(TextEditor::FontSettingsPage)
Q_DECLARE_TR_FUNCTIONS(TextEditor::FontSettingsPageWidget)
public:
FontSettingsPageWidget(FontSettingsPage *q, const FormatDescriptions &fd, FontSettings *fontSettings)
@@ -361,6 +361,8 @@ void FontSettingsPageWidget::fontSelected(const QFont &font)
updatePointSizes();
}
namespace Internal {
void FontSettingsPageWidget::updatePointSizes()
{
// Update point sizes
@@ -621,6 +623,8 @@ void FontSettingsPageWidget::finish()
m_value = m_lastValue;
}
} // namespace Internal
// FontSettingsPage
FontSettingsPage::FontSettingsPage(FontSettings *fontSettings, const FormatDescriptions &fd)