mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Make Voice::ConnectionStatus a metatype
This is needed in order to use it as argument in a thread queue refs #183
This commit is contained in:
committed by
Klaus Basan
parent
ccef9f4be2
commit
3fe5ece460
@@ -10,6 +10,9 @@ namespace BlackCore
|
||||
IVoice::IVoice(QObject *parent) : QObject(parent)
|
||||
{
|
||||
// http://qt-project.org/forums/viewthread/27495
|
||||
qRegisterMetaType<IVoice::ComUnit>("ComUnit");
|
||||
qRegisterMetaType<IVoice::ComUnit>("IVoice::ComUnit");
|
||||
qRegisterMetaType<IVoice::ConnectionStatus>("ConnectionStatus");
|
||||
qRegisterMetaType<IVoice::ConnectionStatus>("IVoice::ConnectionStatus");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -267,5 +267,6 @@ namespace BlackCore
|
||||
} // namespace BlackCore
|
||||
|
||||
Q_DECLARE_METATYPE(BlackCore::IVoice::ComUnit)
|
||||
Q_DECLARE_METATYPE(BlackCore::IVoice::ConnectionStatus)
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user