Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
6c7ba095
Commit
6c7ba095
authored
Jul 24, 2014
by
Fabio Bas
Browse files
Fix warning for DeskList copy constructors
Using pointers for classes derived from QObject would be the best idea.
parent
036980eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/decklist.cpp
View file @
6c7ba095
...
@@ -355,7 +355,8 @@ DeckList::DeckList()
...
@@ -355,7 +355,8 @@ DeckList::DeckList()
// TODO: http://qt-project.org/doc/qt-4.8/qobject.html#no-copy-constructor-or-assignment-operator
// TODO: http://qt-project.org/doc/qt-4.8/qobject.html#no-copy-constructor-or-assignment-operator
DeckList
::
DeckList
(
const
DeckList
&
other
)
DeckList
::
DeckList
(
const
DeckList
&
other
)
:
name
(
other
.
name
),
:
QObject
(),
name
(
other
.
name
),
comments
(
other
.
comments
),
comments
(
other
.
comments
),
deckHash
(
other
.
deckHash
)
deckHash
(
other
.
deckHash
)
{
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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