shrub/nix/nixcrpkgs/pkgs/qt/dbus-null-pointer.patch
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

13 lines
901 B
Diff

diff -ur qtbase-opensource-src-5.9.6-orig/src/platformsupport/linuxaccessibility/dbusconnection.cpp qtbase-opensource-src-5.9.6/src/platformsupport/linuxaccessibility/dbusconnection.cpp
--- qtbase-opensource-src-5.9.6-orig/src/platformsupport/linuxaccessibility/dbusconnection.cpp 2018-06-19 12:42:00.533895696 -0700
+++ qtbase-opensource-src-5.9.6/src/platformsupport/linuxaccessibility/dbusconnection.cpp 2018-06-19 12:45:03.308744607 -0700
@@ -75,7 +75,7 @@
connect(dbusWatcher, SIGNAL(serviceRegistered(QString)), this, SLOT(serviceRegistered()));
// If it is registered already, setup a11y right away
- if (c.interface()->isServiceRegistered(A11Y_SERVICE))
+ if (c.interface() && c.interface()->isServiceRegistered(A11Y_SERVICE))
serviceRegistered();
// In addition try if there is an xatom exposing the bus address, this allows applications run as root to work