mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Set desktop file name to avoid a broken icon under KDE Wayland
Signed-off-by: Alexander Wilms <f.alexander.wilms@gmail.com>
This commit is contained in:
parent
bcf568586d
commit
12d75001a0
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ void init_qt_late()
|
||||||
|
|
||||||
QCoreApplication::setOrganizationName("Subsurface");
|
QCoreApplication::setOrganizationName("Subsurface");
|
||||||
QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
|
QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
|
||||||
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)) && defined(Q_OS_LINUX)
|
||||||
|
QGuiApplication::setDesktopFileName("subsurface");
|
||||||
|
#endif
|
||||||
// enable user specific settings (based on command line argument)
|
// enable user specific settings (based on command line argument)
|
||||||
if (settings_suffix) {
|
if (settings_suffix) {
|
||||||
if (verbose)
|
if (verbose)
|
||||||
|
|
Loading…
Reference in a new issue