CppEditor: Move toolbar creation to Widget constructor
It doesn't need the editor parameter anymore, so the two-phase
setup can go. Note that both paths through ctor() finally hit
*Widget::createEditor() (one directly, one indirectly through
the first BaseTextEditorWidget::editor() call), so this doesn't
change what's set up, only when.
Change-Id: I65d9e317d796c8a5fe755d3d674cf79801e60617
Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
Showing
Please register or sign in to comment