mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +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
@@ -11,8 +11,13 @@ namespace BlackCore
|
||||
{
|
||||
void registerMetadata()
|
||||
{
|
||||
IVoice::registerMetadata();
|
||||
ISimulator::registerMetadata();
|
||||
// for some reasons (ask RW) these are registered twice
|
||||
qRegisterMetaType<ISimulator::Status>();
|
||||
qRegisterMetaType<ISimulator::Status>("Status");
|
||||
qRegisterMetaType<IVoice::ComUnit>();
|
||||
qRegisterMetaType<IVoice::ComUnit>("ComUnit");
|
||||
qRegisterMetaType<IVoice::ConnectionStatus>();
|
||||
qRegisterMetaType<IVoice::ConnectionStatus>("ConnectionStatus");
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user