diff options
author | Eike Ziller <eike.ziller@digia.com> | 2014-01-07 14:41:57 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2014-01-08 11:46:11 +0100 |
commit | f9ce335a6dffb2866cfaa6d97c0430bee6e34e22 (patch) | |
tree | 31e4af6ae75fb054ae51816014e1a877ae3b5463 /src/plugins/texteditor/snippets/snippeteditor.h | |
parent | 236ea9efb912c90cf3ecd6b03006f40e8da4d5f2 (diff) | |
download | qt-creator-f9ce335a6dffb2866cfaa6d97c0430bee6e34e22.tar.gz |
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>
Diffstat (limited to 'src/plugins/texteditor/snippets/snippeteditor.h')
-rw-r--r-- | src/plugins/texteditor/snippets/snippeteditor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/snippets/snippeteditor.h b/src/plugins/texteditor/snippets/snippeteditor.h index 33229ef3d0..564eccaa78 100644 --- a/src/plugins/texteditor/snippets/snippeteditor.h +++ b/src/plugins/texteditor/snippets/snippeteditor.h @@ -49,7 +49,7 @@ public: SnippetEditor(SnippetEditorWidget *editorWidget); bool duplicateSupported() const { return false; } - Core::IEditor *duplicate(QWidget * /* parent */ ) { return 0; } + Core::IEditor *duplicate() { return 0; } Core::Id id() const; }; |