From 736f2513b5877d5fbbd0c24e2dcb9a18fae0ed89 Mon Sep 17 00:00:00 2001 From: Pino Toscano <pino@kde.org> Date: Sat, 22 Nov 2014 12:14:48 +0100 Subject: [PATCH] fix variable name --- src/call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/call.cpp b/src/call.cpp index cd57dfa2..80e35e86 100644 --- a/src/call.cpp +++ b/src/call.cpp @@ -51,7 +51,7 @@ //Track where state changes are performed on finished (over, error, failed) calls //while not really problematic, it is technically wrong -#define Q_ASSERT_IS_IN_PROGRESS Q_ASSERT(state() != Call::State::OVER); +#define Q_ASSERT_IS_IN_PROGRESS Q_ASSERT(m_CurrentState != Call::State::OVER); #define FORCE_ERROR_STATE() {qDebug() << "Fatal error on " << this << __FILE__ << __LINE__;\ d_ptr->changeCurrentState(Call::State::ERROR);} -- GitLab