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:
parent
29080fdd8a
commit
ba850910bc
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user