diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2010-06-24 16:14:29 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2010-06-25 15:55:58 +0200 |
commit | 8a61347be92c74a85662e3eae14be55fc5aa97d7 (patch) | |
tree | c0498fde7ff6e0516ace0238d5c84112f7f00429 /src/plugins/projectexplorer/task.cpp | |
parent | e1b6f3a52deb3574ceaae59f0bc92ef9d9075c1f (diff) | |
download | qt-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.cpp | 11 |
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 // |