Formatting the code.
This commit is contained in:
@@ -131,8 +131,7 @@ void SignalMultiplexer::connect(const Connection& con)
|
||||
|
||||
if (con.sender) {
|
||||
QObject::connect(con.sender, con.signal, m_currentObject, con.slot);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
QObject::connect(m_currentObject, con.signal, con.receiver, con.slot);
|
||||
}
|
||||
}
|
||||
@@ -143,8 +142,7 @@ void SignalMultiplexer::disconnect(const Connection& con)
|
||||
|
||||
if (con.sender) {
|
||||
QObject::disconnect(con.sender, con.signal, m_currentObject, con.slot);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
QObject::disconnect(m_currentObject, con.signal, con.receiver, con.slot);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user