From e034b244c484df8d2e089285521a1aee6bee63a7 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 26 May 2015 06:55:38 +0200 Subject: Core: Fix compile with MSVC 2010 Introduced with 66f603628b62b6865ebd039b729713c0a64ae851 Change-Id: Ifd114e7360bd5ee729d29a0f03116458d56c2afa Reviewed-by: Orgad Shaneh --- src/plugins/coreplugin/editormanager/editorview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1