mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
moved enum metadata registration out of static methods of QObject-derived classes, which fixes #280 (GCC linker errors)
This commit is contained in:
committed by
Klaus Basan
parent
f775ac88d3
commit
e7c14e2c1c
@@ -9,13 +9,4 @@ namespace BlackCore
|
||||
{
|
||||
IVoice::IVoice(QObject *parent) : QObject(parent)
|
||||
{ }
|
||||
|
||||
void IVoice::registerMetadata()
|
||||
{
|
||||
// for some reasons (ask RW) this is registered twice
|
||||
qRegisterMetaType<ComUnit>();
|
||||
qRegisterMetaType<ComUnit>("ComUnit");
|
||||
qRegisterMetaType<ConnectionStatus>();
|
||||
qRegisterMetaType<ConnectionStatus>("ConnectionStatus");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user