Skip to content

Avoid crashing on startup if DBus isn't running

Alex Richardson requested to merge arichardson/okular:run-without-dbus into master

I am trying to run Okular on a minimal FreeBSD CHERI-RISC-V QEMU instance and I haven't got DBus running. Without this change, I get crashes because QDBusConnection::sessionBus().interface() returns NULL if DBus isn't running.

Merge request reports