forked from qt-creator/qt-creator
Core: Fix compile with MSVC 2010
Introduced with 66f603628b
Change-Id: Ifd114e7360bd5ee729d29a0f03116458d56c2afa
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user