From 18e00e5cbe1305fc767ee451a884b3e5e151eab2 Mon Sep 17 00:00:00 2001 From: baydam Date: Tue, 9 Feb 2016 12:01:40 +0000 Subject: [PATCH] Add a macro to check for Qt >= 5.5 --- MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MainWindow.cpp b/MainWindow.cpp index 50215da..d9a098a 100644 --- a/MainWindow.cpp +++ b/MainWindow.cpp @@ -31,7 +31,7 @@ MainWindow::MainWindow() #if QT_VERSION >= 0x050500 QMessageLogger(__FILE__, __LINE__, 0).info() << "Video support: " << (Media::hasVideoSupport() ? "yes" : "no"); #else - QMessageLogger(__FILE__, __LINE__, 0).debug(); << "Video support: " << (Media::hasVideoSupport() ? "yes" : "no"); + QMessageLogger(__FILE__, __LINE__, 0).debug() << "Video support: " << (Media::hasVideoSupport() ? "yes" : "no"); #endif mappingManager = new MappingManager;