From b27ba8cb647a75ac37dc171b82c31476a3443bff Mon Sep 17 00:00:00 2001 From: Gauthier Brion Date: Mon, 16 Mar 2015 16:27:23 +0100 Subject: [PATCH] Calling writeFrame with its static form --- src/qamqpframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qamqpframe.cpp b/src/qamqpframe.cpp index f94bea9..3aa5e0f 100644 --- a/src/qamqpframe.cpp +++ b/src/qamqpframe.cpp @@ -73,7 +73,7 @@ QDataStream &operator<<(QDataStream &stream, const QAmqpFrame &frame) // write end stream << qint8(QAmqpFrame::FRAME_END); - stream.device()->waitForBytesWritten(frame.writeTimeout()); + stream.device()->waitForBytesWritten(QAmqpFrame::writeTimeout()); return stream; }