From d13fbcd10c183bd4d0f7bc5b1f79e7fd31efa78c Mon Sep 17 00:00:00 2001 From: Alexey Shcherbakov Date: Sun, 24 Feb 2013 20:00:12 -0800 Subject: [PATCH] fix --- src/qamqp/amqp_connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qamqp/amqp_connection.cpp b/src/qamqp/amqp_connection.cpp index 7ac94fb..e6275e9 100644 --- a/src/qamqp/amqp_connection.cpp +++ b/src/qamqp/amqp_connection.cpp @@ -170,9 +170,9 @@ void ConnectionPrivate::tune( const QAMQP::Frame::Method & frame ) heartbeatTimer_->setInterval(heartbeat * 1000); if(heartbeatTimer_->interval()) { - heartbeatTimer_->start() + heartbeatTimer_->start(); } else { - heartbeatTimer_->stop() + heartbeatTimer_->stop(); } } tuneOk();