diff --git a/src/InternetConnectionMonitor.cpp b/src/InternetConnectionMonitor.cpp index 6b54f3859..9ac6900b8 100644 --- a/src/InternetConnectionMonitor.cpp +++ b/src/InternetConnectionMonitor.cpp @@ -135,7 +135,7 @@ lastfm::InternetConnectionMonitor::createNetworkConnectionMonitor() ncm = new MNetworkConnectionMonitor( this ); #elif defined(Q_OS_WIN) && ! defined __MINGW32__ ncm = new WNetworkConnectionMonitor( this ); -#elif defined(Q_OS_UNIX) +#elif defined(Q_OS_LINUX) ncm = new LNetworkConnectionMonitor( this ); #endif diff --git a/src/misc.cpp b/src/misc.cpp index 7d819a3ae..d19987b3c 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -62,7 +62,7 @@ static QDir dataDotDot() return QDir::home(); #elif defined(Q_OS_MAC) return QDir::home().filePath( "Library/Application Support" ); -#elif defined(Q_OS_UNIX) +#elif defined(Q_OS_LINUX) || defined(Q_OS_UNIX) return QDir::home().filePath( ".local/share" ); #else return QDir::home(); @@ -199,7 +199,7 @@ lastfm::platform() default: return "Unknown"; } -#elif defined Q_OS_UNIX +#elif defined(Q_OS_LINUX) || defined(Q_OS_UNIX) return "UNIX X11"; #else return "Unknown";