Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
8a61347b
Commit
8a61347b
authored
Jun 24, 2010
by
Tobias Hunger
Browse files
Add operator= to Task
Reviewed-by: dt
parent
e1b6f3a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/task.cpp
View file @
8a61347b
...
...
@@ -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
//
...
...
src/plugins/projectexplorer/task.h
View file @
8a61347b
...
...
@@ -61,6 +61,8 @@ public:
~
Task
()
{
}
Task
&
operator
=
(
const
Task
&
source
);
TaskType
type
;
QString
description
;
QString
file
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment