forked from qt-creator/qt-creator
Core: Revert unintended change
Amends: e34762c844
Change-Id: I024b6ae5b65dffe45bacc1f44bba5e8ce41fe49d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -113,7 +113,7 @@ EditorView::EditorView(SplitterOrView *parentSplitterOrView, QWidget *parent) :
|
||||
m_container->addWidget(empty);
|
||||
m_widgetEditorMap.insert(empty, nullptr);
|
||||
|
||||
/*const auto dropSupport = new DropSupport(this, [this](QDropEvent *event, DropSupport *) {
|
||||
const auto dropSupport = new DropSupport(this, [this](QDropEvent *event, DropSupport *) {
|
||||
// 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
|
||||
@@ -126,7 +126,7 @@ EditorView::EditorView(SplitterOrView *parentSplitterOrView, QWidget *parent) :
|
||||
});
|
||||
connect(dropSupport, &DropSupport::filesDropped,
|
||||
this, &EditorView::openDroppedFiles);
|
||||
*/
|
||||
|
||||
updateNavigatorActions();
|
||||
}
|
||||
|
||||
|
||||
@@ -194,12 +194,12 @@ MainWindow::MainWindow()
|
||||
|
||||
statusBar()->setProperty("p_styled", true);
|
||||
|
||||
/*auto dropSupport = new DropSupport(this, [](QDropEvent *event, DropSupport *) {
|
||||
auto dropSupport = new DropSupport(this, [](QDropEvent *event, DropSupport *) {
|
||||
return event->source() == nullptr; // only accept drops from the "outside" (e.g. file manager)
|
||||
});
|
||||
connect(dropSupport, &DropSupport::filesDropped,
|
||||
this, &MainWindow::openDroppedFiles);
|
||||
*/
|
||||
|
||||
if (HostOsInfo::isLinuxHost()) {
|
||||
m_trimTimer.setSingleShot(true);
|
||||
m_trimTimer.setInterval(60000);
|
||||
|
||||
Reference in New Issue
Block a user