From 0ca693407473eb9457cdf8f9d4be32c9d4968ced Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Thu, 29 Sep 2016 19:30:27 -0700 Subject: Remove dead code Qt 5.7 only deploys to macOS 10.8, so this code is never executed. Also, QSysInfo will be deprecated in Qt 5.9 so this will fix a warning. Change-Id: Iecebdb2aed3b0e31b0540621b16aa958031a8e81 Reviewed-by: Thiago Macieira --- src/quick/scenegraph/qsgcontext.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/quick/scenegraph/qsgcontext.cpp b/src/quick/scenegraph/qsgcontext.cpp index 25945ad78a..0ad6b43be6 100644 --- a/src/quick/scenegraph/qsgcontext.cpp +++ b/src/quick/scenegraph/qsgcontext.cpp @@ -490,10 +490,6 @@ QSurfaceFormat QSGContext::defaultSurfaceFormat() const QSize QSGContext::minimumFBOSize() const { -#ifdef Q_OS_MAC - if (QSysInfo::MacintoshVersion < QSysInfo::MV_10_8) - return QSize(33, 33); -#endif return QSize(1, 1); } -- cgit v1.2.3