Commit ca5e2ab8 authored by Matthieu Gallien's avatar Matthieu Gallien

fix one build issue on macOS

parent 1fb82686
......@@ -41,7 +41,7 @@
#include <algorithm>
#if !defined Q_OS_FREEBSD
#if !defined Q_OS_FREEBSD && !defined Q_OS_MACOS
#include <filesystem>
#endif
......@@ -389,7 +389,7 @@ private Q_SLOTS:
QCOMPARE(newTracks.count(), 1);
QCOMPARE(newCovers.count(), 1);
#if defined Q_OS_FREEBSD
#if defined Q_OS_FREEBSD || defined Q_OS_MACOS
QString commandLine(QStringLiteral("mv ") + musicPath + QStringLiteral(" ") + musicFriendPath);
system(commandLine.toLatin1().data());
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment