Skip to content
Snippets Groups Projects
Commit 8a61347b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Add operator= to Task

Reviewed-by: dt
parent e1b6f3a5
No related merge requests found
...@@ -32,6 +32,17 @@ ...@@ -32,6 +32,17 @@
namespace ProjectExplorer namespace ProjectExplorer
{ {
Task &Task::operator=(const Task &source)
{
type = source.type;
description = source.description;
file = source.file;
line = source.line;
category = source.category;
formats = source.formats;
return *this;
}
// //
// functions // functions
// //
......
...@@ -61,6 +61,8 @@ public: ...@@ -61,6 +61,8 @@ public:
~Task() ~Task()
{ } { }
Task &operator=(const Task &source);
TaskType type; TaskType type;
QString description; QString description;
QString file; QString file;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment