mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
DBus test (GUI + core) fixes
* removed unused signals * marked relayParentSignals as deprecated, currently not used
This commit is contained in:
@@ -43,8 +43,10 @@ namespace BlackMisc
|
||||
|
||||
//! For each signal in parent, attempt to connect to it an interface signal of the same name.
|
||||
//! \see BLACK_NO_RELAY
|
||||
//! \deprecated KB 2018-08 this seems to be not used anymore and might be removed
|
||||
void relayParentSignals()
|
||||
{
|
||||
Q_ASSERT_X(false, Q_FUNC_INFO, "crosscheck if still used");
|
||||
const QMetaObject *metaObject = this->parent()->metaObject();
|
||||
const QMetaObject *superMetaObject = metaObject;
|
||||
while (strcmp(superMetaObject->superClass()->className(), "QObject") != 0) { superMetaObject = superMetaObject->superClass(); }
|
||||
|
||||
Reference in New Issue
Block a user