Commit 0d15048e authored by Alex Richardson's avatar Alex Richardson Committed by Albert Astals Cid
Browse files

Avoid crashing on startup if DBus isn't running

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.
parent 21bc8bd0
Pipeline #72121 passed with stage
in 9 minutes and 36 seconds