mirror of
https://github.com/danog/patches.git
synced 2024-11-30 04:19:34 +01:00
2b9afa7592
Backport support for opening directories with xdg desktop portals Backport fix for ibus on wayland
15 lines
582 B
Diff
15 lines
582 B
Diff
diff --git a/src/corelib/kernel/qcore_mac_objc.mm b/src/corelib/kernel/qcore_mac_objc.mm
|
|
index 266faca0ed..cf9dafb6d8 100644
|
|
--- a/src/corelib/kernel/qcore_mac_objc.mm
|
|
+++ b/src/corelib/kernel/qcore_mac_objc.mm
|
|
@@ -140,7 +140,8 @@ QMacAutoReleasePool::QMacAutoReleasePool()
|
|
{
|
|
Class trackerClass = [QMacAutoReleasePoolTracker class];
|
|
|
|
-#ifdef QT_DEBUG
|
|
+// Patch: Disable this debug code because it is very slow.
|
|
+#ifdef QT_DEBUG____REMOVED
|
|
void *poolFrame = nullptr;
|
|
if (__builtin_available(macOS 10.14, iOS 12.0, tvOS 12.0, watchOS 5.0, *)) {
|
|
void *frame;
|