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>
Sun, 1 Apr 2012 21:07:53 +0000 (23:07 +0200)
commit8a0b44b52a6a0a855a832fa7b46f3631a8684a3f
treef5e441819dca74a4cc484ab02ab0dabd25d4aa94
parent79a8a98f5a499c2da6c1e57855e9c7b2815ec6d4
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