aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2016-09-29 19:30:27 -0700
committerJake Petroules <jake.petroules@qt.io>2016-09-30 02:40:37 +0000
commit0ca693407473eb9457cdf8f9d4be32c9d4968ced (patch)
tree250caca5e96e9e5171a080e9cc4cfd6044211dbe
parent0aea009425242417bffdb171c8eca02ff52f4a7b (diff)
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 <thiago.macieira@intel.com>
-rw-r--r--src/quick/scenegraph/qsgcontext.cpp4
1 files changed, 0 insertions, 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);
}