diff --git a/bin/test/data/log/test_log.txt b/bin/test/data/log/test_log.txt index bc8a2184..c6e80470 100644 --- a/bin/test/data/log/test_log.txt +++ b/bin/test/data/log/test_log.txt @@ -1,4 +1,22 @@ ConfigManager.cpp ERROR: value path/to/nowhere is not present in config. +Token.cpp ERROR: Location Id was not referenced by this Token. +Node.cpp WARNING: Cannot change NodeType after it was already set from namespace to class +Edge.cpp ERROR: Nodes are not plain copies. +Storage.cpp INFO: class: A +Storage.cpp INFO: method: A::A +Storage.cpp INFO: global usage: A::A -> A::count +Storage.cpp INFO: method: A::getCount +Storage.cpp INFO: global usage: A::getCount -> A::count +Storage.cpp INFO: method: A::process +Storage.cpp INFO: field: A::count +Storage.cpp INFO: class: B +Storage.cpp INFO: inheritance: B : A +Storage.cpp INFO: method: B::process +Storage.cpp INFO: type usage: B::process -> int +Storage.cpp INFO: function: main +Storage.cpp INFO: type usage: main -> B +Storage.cpp INFO: call: main -> B::B +Storage.cpp INFO: call: main -> A::getCount Storage.cpp INFO: class: A Storage.cpp INFO: method: A::A Storage.cpp INFO: global usage: A::A -> A::count @@ -31,24 +49,6 @@ SearchIndex.cpp INFO: 237 A::A ^^^^ -Storage.cpp INFO: class: A -Storage.cpp INFO: method: A::A -Storage.cpp INFO: global usage: A::A -> A::count -Storage.cpp INFO: method: A::getCount -Storage.cpp INFO: global usage: A::getCount -> A::count -Storage.cpp INFO: method: A::process -Storage.cpp INFO: field: A::count -Storage.cpp INFO: class: B -Storage.cpp INFO: inheritance: B : A -Storage.cpp INFO: method: B::process -Storage.cpp INFO: type usage: B::process -> int -Storage.cpp INFO: function: main -Storage.cpp INFO: type usage: main -> B -Storage.cpp INFO: call: main -> B::B -Storage.cpp INFO: call: main -> A::getCount -Token.cpp ERROR: Location Id was not referenced by this Token. -Node.cpp WARNING: Cannot change NodeType after it was already set from namespace to class -Edge.cpp ERROR: Nodes are not plain copies. Settings.cpp WARNING: File for Settings not found. ConfigManager.cpp ERROR: value Bool is not present in config. ConfigManager.cpp ERROR: value Int is not present in config. @@ -64,7 +64,6 @@ ConfigManager.cpp ERROR: value Int is not present in config. ConfigManager.cpp ERROR: value Float is not present in config. ConfigManager.cpp ERROR: value String is not present in config. ConfigManager.cpp ERROR: value NewBool is not present in config. -Graph.cpp ERROR: Can't remove member edge, without removing the child node. Storage.cpp INFO: typedef: type -> int Storage.cpp INFO: class: Class Storage.cpp INFO: struct: Struct @@ -104,6 +103,7 @@ Storage.cpp INFO: global usage: isTrue -> global Storage.cpp INFO: function: isTrue Storage.cpp INFO: struct: Struct Storage.cpp INFO: type usage: isTrue -> Struct +Graph.cpp ERROR: Can't remove member edge, without removing the child node. TextAccess.cpp WARNING: Index 'firstLine' has to be lower or equal index 'lastLine', is 3 > 2 TextAccess.cpp WARNING: Tried to access index 10. Maximum index is 8 TextAccess.cpp WARNING: Tried to access index 10. Maximum index is 8 diff --git a/src/app/qt/view/graphElements/nodeComponents/QtGraphNodeComponent.h b/src/app/qt/view/graphElements/nodeComponents/QtGraphNodeComponent.h index 38eab4d0..ba1eaf00 100644 --- a/src/app/qt/view/graphElements/nodeComponents/QtGraphNodeComponent.h +++ b/src/app/qt/view/graphElements/nodeComponents/QtGraphNodeComponent.h @@ -11,7 +11,7 @@ class QtGraphNodeComponent { public: QtGraphNodeComponent(const std::weak_ptr& graphNode); - ~QtGraphNodeComponent(); + virtual ~QtGraphNodeComponent(); virtual void nodeMousePressEvent(QGraphicsSceneMouseEvent* event) = 0; virtual void nodeMouseMoveEvent(QGraphicsSceneMouseEvent* event) = 0; diff --git a/src/app/qt/view/graphElements/nodeComponents/QtGraphNodeComponentMoveable.h b/src/app/qt/view/graphElements/nodeComponents/QtGraphNodeComponentMoveable.h index ec09ebc5..91083a0d 100644 --- a/src/app/qt/view/graphElements/nodeComponents/QtGraphNodeComponentMoveable.h +++ b/src/app/qt/view/graphElements/nodeComponents/QtGraphNodeComponentMoveable.h @@ -10,7 +10,7 @@ class QtGraphNodeComponentMoveable { public: QtGraphNodeComponentMoveable(const std::weak_ptr& graphNode); - ~QtGraphNodeComponentMoveable(); + virtual ~QtGraphNodeComponentMoveable(); virtual void nodeMousePressEvent(QGraphicsSceneMouseEvent* event); virtual void nodeMouseMoveEvent(QGraphicsSceneMouseEvent* event); diff --git a/src/lib/utility/math/Vector2.h b/src/lib/utility/math/Vector2.h index dc1ee6b3..52cfe1ef 100644 --- a/src/lib/utility/math/Vector2.h +++ b/src/lib/utility/math/Vector2.h @@ -134,8 +134,8 @@ template void Vector2::operator=(const Vector2& other) { this->assign(other); - x = Property(&VectorBase::m_values[m_xIndex]); - y = Property(&VectorBase::m_values[m_yIndex]); + x = Property(&VectorBase::m_values[m_xIndex]); + y = Property(&VectorBase::m_values[m_yIndex]); } typedef Vector2 Vec2f;