Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
8a61347b
Commit
8a61347b
authored
Jun 24, 2010
by
Tobias Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add operator= to Task
Reviewed-by: dt
parent
e1b6f3a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
src/plugins/projectexplorer/task.cpp
src/plugins/projectexplorer/task.cpp
+11
-0
src/plugins/projectexplorer/task.h
src/plugins/projectexplorer/task.h
+2
-0
No files found.
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
Markdown
is supported
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