VariableInspectorTableView.cpp
13 lines
| 452 B
| text/x-c
|
CppLexer
r877 | #include "Variable/VariableInspectorTableView.h" | |||
#include "DragDropHelper.h" | ||||
#include "SqpApplication.h" | ||||
VariableInspectorTableView::VariableInspectorTableView(QWidget *parent) : QTableView(parent) {} | ||||
void VariableInspectorTableView::startDrag(Qt::DropActions supportedActions) | ||||
{ | ||||
// Resets the drag&drop operations before it's starting | ||||
sqpApp->dragDropHelper().resetDragAndDrop(); | ||||
QTableView::startDrag(supportedActions); | ||||
} | ||||