forked from qt-creator/qt-creator
Editors: Remove useless parent widget argument from create/duplicate
It was never called with a sensible value anyhow, and only complicates things. Change-Id: I005848700b6c00114d91495670d4a0e15a2d2e64 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
CMakeEditor(CMakeEditorWidget *);
|
||||
|
||||
bool duplicateSupported() const { return true; }
|
||||
Core::IEditor *duplicate(QWidget *parent);
|
||||
Core::IEditor *duplicate();
|
||||
Core::Id id() const;
|
||||
TextEditor::CompletionAssistProvider *completionAssistProvider();
|
||||
|
||||
@@ -71,7 +71,7 @@ class CMakeEditorWidget : public TextEditor::BaseTextEditorWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CMakeEditorWidget(QWidget *parent, CMakeEditorFactory *factory);
|
||||
CMakeEditorWidget(CMakeEditorFactory *factory, QWidget *parent = 0);
|
||||
|
||||
bool save(const QString &fileName = QString());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user