Commit 6c7ba095 authored by Fabio Bas's avatar Fabio Bas
Browse files

Fix warning for DeskList copy constructors

Using pointers for classes derived from QObject would be the best idea.
parent 036980eb
...@@ -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)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment