forked from qt-creator/qt-creator
TextEditor: Fix crash due to setting up fall back editor twice
Change-Id: Id1287a1b1b33924c490b664d81c661b1481a3e4f Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -52,7 +52,7 @@ class DIFFEDITOR_EXPORT SelectableTextEditorWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SelectableTextEditorWidget(QWidget *parent = 0);
|
||||
SelectableTextEditorWidget(Core::Id id, QWidget *parent = 0);
|
||||
~SelectableTextEditorWidget();
|
||||
void setSelections(const QMap<int, QList<DiffSelection> > &selections) {
|
||||
m_selections = selections;
|
||||
|
||||
Reference in New Issue
Block a user