moved initialization of var
This commit is contained in:
@@ -44,11 +44,11 @@ RichTextEditorToolBar::RichTextEditorToolBar(RichTextEditor *editor,
|
||||
m_link_action(new QAction(this)),
|
||||
m_image_action(new QAction(this)),
|
||||
m_color_action(new ColorAction(this)),
|
||||
m_font_family_input(new QFontComboBox(this)),
|
||||
m_font_size_input(new QComboBox),
|
||||
m_editor(editor)
|
||||
{
|
||||
// Font comboBox
|
||||
m_font_family_input = new QFontComboBox(this);
|
||||
m_font_family_input->setEditable(false);
|
||||
connect(m_font_family_input, &QComboBox::textActivated,
|
||||
this, &RichTextEditorToolBar::fontFamilyActivated);
|
||||
|
||||
Reference in New Issue
Block a user