diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-05-26 06:55:38 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-05-26 06:45:03 +0000 |
commit | e034b244c484df8d2e089285521a1aee6bee63a7 (patch) | |
tree | 8884184496065ee26dee61b6545670fb2da9456c | |
parent | a34736f3309575be60a02af2f05703353329319d (diff) |
Core: Fix compile with MSVC 2010
Introduced with 66f603628b62b6865ebd039b729713c0a64ae851
Change-Id: Ifd114e7360bd5ee729d29a0f03116458d56c2afa
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r-- | src/plugins/coreplugin/editormanager/editorview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/editormanager/editorview.cpp b/src/plugins/coreplugin/editormanager/editorview.cpp index 425323c2bc..34cbd4cafc 100644 --- a/src/plugins/coreplugin/editormanager/editorview.cpp +++ b/src/plugins/coreplugin/editormanager/editorview.cpp @@ -134,7 +134,7 @@ EditorView::EditorView(SplitterOrView *parentSplitterOrView, QWidget *parent) : m_container->addWidget(empty); m_widgetEditorMap.insert(empty, 0); - auto dropSupport = new FileDropSupport(this, [this](QDropEvent *event) { + auto dropSupport = new FileDropSupport(this, [this](QDropEvent *event) -> bool { // do not accept move events except from other editor views (i.e. their tool bars) // otherwise e.g. item views that support moving items within themselves would // also "move" the item into the editor view, i.e. the item would be removed from the |