don't use shared ptrs for project items

This commit is contained in:
itsmattkc
2020-12-16 10:28:43 +11:00
parent 1cd07bc1f7
commit e12013e2fb
31 changed files with 209 additions and 255 deletions
+5 -3
View File
@@ -21,16 +21,18 @@
#ifndef NODEGRAPH_H
#define NODEGRAPH_H
#include <QObject>
#include "node/node.h"
#include "project/item/item.h"
namespace olive {
/**
* @brief A collection of nodes
*
* This doesn't technically need to be a derivative of Item, but since both Item and NodeGraph need
* to be QObject derivatives, this simplifies Sequence.
*/
class NodeGraph : public QObject
class NodeGraph : public Item
{
Q_OBJECT
public: