Use cached appName for DBus (dis)connecting.

Authored by rjvbb on Jan 21 2020, 1:39 PM.

Description

Use cached appName for DBus (dis)connecting.

My previous code assumed it was always called with a valid QCoreApplication
instance AND a valid argc,argv combo. That assumption can fail if main()
exits without having destroyed the app instance.

Also, replace getFile() with QFileInfo::fileName().

Details

Committed
rjvbbJan 21 2020, 1:39 PM
Parents
R626:411608335863: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown