From 6e753f0669be51c0ea874609735d33fc4f833be9 Mon Sep 17 00:00:00 2001 From: arturo182 Date: Wed, 15 Feb 2017 10:20:25 +0100 Subject: [PATCH] Fix erroneous comparison instead of assignment --- src/stream/time.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream/time.cpp b/src/stream/time.cpp index d45ac85..b6c04b9 100644 --- a/src/stream/time.cpp +++ b/src/stream/time.cpp @@ -79,7 +79,7 @@ MsgPackStream& operator>>(MsgPackStream& s, QTime &t) return s; } if (len == 1) { - t == QTime(); + t = QTime(); return s; } quint8 p[4];