freebsd-ports/games/multimc/files/patch-api_logic_FileSystem.cpp
Steve Wills 63bab8f704 games/multimc: update to 0.6.5
PR:		236488
Submitted by:	tsundoku <me@tsundoku.ne.jp> (maintainer)
2019-03-18 17:53:39 +00:00

11 lines
417 B
C++

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