Commit 4128e0ba authored by Committed by Nicolas FellaBrowse files
Avoid crashing on startup if DBus isn't running
I am trying to run Gwenview on a minimal FreeBSD CHERI-RISC-V QEMU instance and I haven't got DBus running. Without this change Gwenview crashes because QDBusConnection::sessionBus().interface() returns NULL.
Showing with 12 additions and 9 deletions