Fix warning for DeskList copy constructors

Using pointers for classes derived from QObject would be the best idea.
This commit is contained in:
Fabio Bas 2014-07-24 18:00:20 +02:00
parent 036980eb44
commit 6c7ba0950a

View file

@ -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)
{ {