Skip to content

Commit

Permalink
* Fixed ifdef's for Qt5.
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Oct 2, 2014
1 parent 31e80e1 commit d9bea7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/InternetConnectionMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit d9bea7b

Please sign in to comment.