Properly register the Network::ConnectionState enum
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 27 Mar 2012 20:02:21 +0000 (22:02 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 22 May 2012 19:54:50 +0000 (21:54 +0200)
commit13f93f79769b3d789e263088675abf7f1276a0db
treec1b58693a6706b2f40d4f58801fc558ca67533bf
parent160c2f01e680588861cad7b6d36f5b3309e79851
Properly register the Network::ConnectionState enum

The Q_ENUMS declaration was, uhm, creative, and additionally Q_ENUMS are automatically
registered with the QMetaType system, so no need for registering them again. Actually,
while this somehow works in Qt4, Qt5 barfs with an assert.
src/common/network.h
src/common/quassel.cpp