FontEditor fixed

This commit is contained in:
Arin Alexander 2018-05-16 11:00:15 +03:00
parent d344264bfb
commit 91827a27f2
2 changed files with 3 additions and 3 deletions

View File

@ -106,9 +106,9 @@ bool FontEditorWidget::ignoreSlots() const
}
void FontEditorWidget::slotFontChanged(const QFont /*&font*/)
void FontEditorWidget::slotFontChanged(const QFont& /*font*/)
{
// if (page()) page()->setFont(font);
//if (page()) page()->setFont(font);
}
void FontEditorWidget::slotFontSizeChanged(const QString &value)

View File

@ -53,7 +53,7 @@ protected:
QFontComboBox* fontNameEditor(){return m_fontNameEditor;}
virtual void initEditor();
protected slots:
virtual void slotFontChanged(const QFont);
virtual void slotFontChanged(const QFont&);
virtual void slotFontSizeChanged(const QString& value);
virtual void slotFontAttribsChanged(bool);
void slotPropertyChanged(const QString& objectName, const QString& property, const QVariant &oldValue, const QVariant &newValue);