Commit 29d96a03 authored by Eckhart Wörner's avatar Eckhart Wörner

Remove unneeded friendship, don't rely on it anymore

svn path=/trunk/KDE/kdeedu/kmplot/; revision=902582
parent bfd4fea8
......@@ -94,10 +94,10 @@ void EquationEdit::reHighlight()
void EquationEdit::invokeEquationEditor()
{
EquationEditor * edit = new EquationEditor( this );
edit->m_widget->edit->setInputType( m_inputType );
edit->m_widget->edit->setEquationType( m_equation->type() );
edit->m_widget->edit->setValidatePrefix( m_validatePrefix );
edit->m_widget->edit->setText( text() );
edit->edit()->setInputType( m_inputType );
edit->edit()->setEquationType( m_equation->type() );
edit->edit()->setValidatePrefix( m_validatePrefix );
edit->edit()->setText( text() );
edit->exec();
......
......@@ -61,8 +61,6 @@ class EquationEditor : public KDialog
protected:
EquationEditorWidget* m_widget;
friend class EquationEdit;
};
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment