From cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 2 Feb 2015 02:14:14 +0100 Subject: SCRATCH nuke the overcomplicated logger, use a simple one. --- MMCError.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MMCError.h') diff --git a/MMCError.h b/MMCError.h index 1f72b7a4..e81054a6 100644 --- a/MMCError.h +++ b/MMCError.h @@ -1,7 +1,7 @@ #pragma once #include #include -#include +#include class MMCError : public std::exception { @@ -9,7 +9,7 @@ public: MMCError(QString cause) { exceptionCause = cause; - QLOG_ERROR() << "Exception: " + cause; + qCritical() << "Exception: " + cause; }; virtual ~MMCError() noexcept {} virtual const char *what() const noexcept -- cgit v1.2.3