summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/task.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-06-24 16:14:29 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2010-06-25 15:55:58 +0200
commit8a61347be92c74a85662e3eae14be55fc5aa97d7 (patch)
treec0498fde7ff6e0516ace0238d5c84112f7f00429 /src/plugins/projectexplorer/task.cpp
parente1b6f3a52deb3574ceaae59f0bc92ef9d9075c1f (diff)
downloadqt-creator-8a61347be92c74a85662e3eae14be55fc5aa97d7.tar.gz
Add operator= to Task
Reviewed-by: dt
Diffstat (limited to 'src/plugins/projectexplorer/task.cpp')
-rw-r--r--src/plugins/projectexplorer/task.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/task.cpp b/src/plugins/projectexplorer/task.cpp
index e8870ea52e..4dc799df49 100644
--- a/src/plugins/projectexplorer/task.cpp
+++ b/src/plugins/projectexplorer/task.cpp
@@ -32,6 +32,17 @@
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
//