1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 14:46:33 +02:00

s/Q_WS_X11/Q_OS_LINUX/ at some locations

This commit is contained in:
Uwe L. Korn
2013-08-30 22:16:58 +02:00
parent b4cd4ed5ef
commit ea5f25951c
3 changed files with 3 additions and 3 deletions

View File

@@ -701,7 +701,7 @@ TomahawkSettings::scannerPaths() const
{
QString musicLocation;
#if defined(Q_WS_X11)
#if defined(Q_OS_LINUX)
musicLocation = QDir::homePath() + QLatin1String("/Music");
#endif

View File

@@ -72,7 +72,7 @@ LastFmInfoPlugin::init()
//HACK work around a bug in liblastfm---it doesn't create its config dir, so when it
// tries to write the track cache, it fails silently. until we have a fixed version, do this
// code taken from Amarok (src/services/lastfm/ScrobblerAdapter.cpp)
#ifdef Q_WS_X11
#ifdef Q_OS_LINUX
QString lpath = QDir::home().filePath( ".local/share/Last.fm" );
QDir ldir = QDir( lpath );
if( !ldir.exists() )

View File

@@ -993,7 +993,7 @@ void
TomahawkWindow::onAudioEngineError( AudioEngine::AudioErrorCode /* error */ )
{
QString msg;
#ifdef Q_WS_X11
#ifdef Q_OS_LINUX
msg = tr( "Sorry, there is a problem accessing your audio device or the desired track, current track will be skipped. Make sure you have a suitable Phonon backend and required plugins installed." );
#else
msg = tr( "Sorry, there is a problem accessing your audio device or the desired track, current track will be skipped." );