From 0467401635d17cb33257a67cefc7c433ef1c54e2 Mon Sep 17 00:00:00 2001
From: 23rd <23rd@vivaldi.net>
Date: Sun, 2 Jun 2019 12:35:02 +0300
Subject: [PATCH] Fixed missing bracket in Qt patch.

---
 Telegram/Patches/qtbase_5_6_2.diff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Telegram/Patches/qtbase_5_6_2.diff b/Telegram/Patches/qtbase_5_6_2.diff
index 46ed8dccb..683b76ca5 100644
--- a/Telegram/Patches/qtbase_5_6_2.diff
+++ b/Telegram/Patches/qtbase_5_6_2.diff
@@ -264,7 +264,7 @@ index fb609ae485..7cca45ded4 100644
 +    // Patch: Fix macOS regression. On 10.14.4, it crashes on GPU switches.
 +    // See https://bugreports.qt.io/browse/QTCREATORBUG-22215
 +    static const QAppleOperatingSystemVersion version = qt_apple_os_version();
-+    if (!(version.major == 10 && version.minor == 14 && version.patch == 4))
++    if (!(version.major == 10 && version.minor == 14 && version.patch == 4)) {
 +        attrs << NSOpenGLPFAAllowOfflineRenderers;
 +    }