2019-03-18 18:53:39 +01:00
|
|
|
--- api/logic/FileSystem.cpp.orig 2019-03-07 17:30:10 UTC
|
2018-06-06 17:54:57 +02:00
|
|
|
+++ api/logic/FileSystem.cpp
|
2019-03-18 18:53:39 +01:00
|
|
|
@@ -398,7 +398,7 @@ QString getDesktopDir()
|
2018-06-06 17:54:57 +02:00
|
|
|
bool createShortCut(QString location, QString dest, QStringList args, QString name,
|
2019-03-18 18:53:39 +01:00
|
|
|
QString icon)
|
2018-06-06 17:54:57 +02:00
|
|
|
{
|
|
|
|
-#if defined Q_OS_LINUX
|
2019-03-18 18:53:39 +01:00
|
|
|
+#if defined Q_OS_LINUX || defined(Q_OS_FREEBSD)
|
|
|
|
location = PathCombine(location, name + ".desktop");
|
2018-06-06 17:54:57 +02:00
|
|
|
|
2019-03-18 18:53:39 +01:00
|
|
|
QFile f(location);
|