diff options
| author | Eike Ziller <eike.ziller@digia.com> | 2013-04-18 12:06:43 +0200 |
|---|---|---|
| committer | Eike Ziller <eike.ziller@digia.com> | 2013-04-19 16:21:06 +0200 |
| commit | e31575a493c70116c46eb09fd9d469a70ddd2298 (patch) | |
| tree | 5c1a0032ba5ce11950dd30bea76026bdd0525cbe /src/plugins/bazaar/commiteditor.cpp | |
| parent | d4f763edc696e9c6413f2f68b0fc9f7091dfe7de (diff) | |
| download | qt-creator-e31575a493c70116c46eb09fd9d469a70ddd2298.tar.gz | |
VCS: Clean up submit editor handling
It was not possible to simultaneously open two commit editors for
different version control systems, also there was no reason to scan all
open editors for the submit editor, since the plugins can just remember
the editor that they opened.
Change-Id: I1bea6ece3cd6faa1ecc0566bdd6f5fb10c816963
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/bazaar/commiteditor.cpp')
| -rw-r--r-- | src/plugins/bazaar/commiteditor.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/bazaar/commiteditor.cpp b/src/plugins/bazaar/commiteditor.cpp index 2ba32a59a4..b41a04012f 100644 --- a/src/plugins/bazaar/commiteditor.cpp +++ b/src/plugins/bazaar/commiteditor.cpp @@ -43,12 +43,6 @@ CommitEditor::CommitEditor(const VcsBase::VcsBaseSubmitEditorParameters *paramet setDisplayName(tr("Commit Editor")); } -const BazaarCommitWidget *CommitEditor::commitWidget() const -{ - CommitEditor *nonConstThis = const_cast<CommitEditor *>(this); - return static_cast<const BazaarCommitWidget *>(nonConstThis->widget()); -} - BazaarCommitWidget *CommitEditor::commitWidget() { return static_cast<BazaarCommitWidget *>(widget()); |
