panel: remove "interactive" add task from context menu

until there is anything reasonable to add. At the moment, there isn't.

This is one of the UI end-points for Robert's proposed drag&drop task system.
This commit is contained in:
v4hn 2020-04-16 18:18:22 +02:00
parent 95dad83126
commit 1b3f8fe8c3

View File

@ -235,7 +235,8 @@ TaskViewPrivate::TaskViewPrivate(TaskView* q_ptr) : q_ptr(q_ptr), exec_action_cl
tasks_view->setDragEnabled(true);
// init actions
tasks_view->addActions({ actionAddLocalTask, actionRemoveTaskTreeRows });
// TODO(v4hn): add actionAddLocalTask once there is something meaningful to add
tasks_view->addActions({ /*actionAddLocalTask,*/ actionRemoveTaskTreeRows });
}
std::pair<TaskListModel*, TaskDisplay*> TaskViewPrivate::getTaskListModel(const QModelIndex& index) const {