1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-29 12:39:28 +01:00

Renamed importXspfPath to importPlaylistPath in TomahawkSettings.

This commit is contained in:
Christian Muehlhaeuser 2014-11-11 01:19:01 +01:00
parent 29080fdd8a
commit ba850910bc
2 changed files with 7 additions and 7 deletions

View File

@ -1545,19 +1545,19 @@ TomahawkSettings::updateIndex()
QString
TomahawkSettings::importXspfPath() const
TomahawkSettings::importPlaylistPath() const
{
if ( contains( "importXspfPath" ) )
return value( "importXspfPath" ).toString();
if ( contains( "importPlaylistPath" ) )
return value( "importPlaylistPath" ).toString();
else
return QDir::homePath();
}
void
TomahawkSettings::setImportXspfPath( const QString& path )
TomahawkSettings::setImportPlaylistPath( const QString& path )
{
setValue( "importXspfPath", path );
setValue( "importPlaylistPath", path );
}

View File

@ -216,8 +216,8 @@ public:
PrivateListeningMode privateListeningMode() const;
void setPrivateListeningMode( PrivateListeningMode mode );
void setImportXspfPath( const QString& path );
QString importXspfPath() const;
void setImportPlaylistPath( const QString& path );
QString importPlaylistPath() const;
Tomahawk::SerializedUpdaters playlistUpdaters() const;
void setPlaylistUpdaters( const Tomahawk::SerializedUpdaters& updaters );