QAmqpChannelHash: Coding style fixes.

This commit is contained in:
Stuart Longland 2015-05-02 20:52:27 +10:00
parent cd655d3f1d
commit 3e5cf05256
1 changed files with 2 additions and 4 deletions

View File

@ -55,8 +55,7 @@ void QAmqpChannelHash::put(QAmqpExchange* exchange)
void QAmqpChannelHash::put(QAmqpQueue* queue)
{
if (queue->name().isEmpty())
connect(queue, SIGNAL(declared()),
this, SLOT(queueDeclared()));
connect(queue, SIGNAL(declared()), this, SLOT(queueDeclared()));
else
put(queue->name(), queue);
}
@ -90,8 +89,7 @@ void QAmqpChannelHash::queueDeclared()
*/
void QAmqpChannelHash::put(const QString& name, QAmqpChannel* channel)
{
connect(channel, SIGNAL(destroyed(QObject*)),
this, SLOT(channelDestroyed(QObject*)));
connect(channel, SIGNAL(destroyed(QObject*)), this, SLOT(channelDestroyed(QObject*)));
channels[name] = channel;
}