mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-11 03:21:52 +02:00
autoupdate fixes: init on creation, and every 10 not 100 mins
This commit is contained in:
parent
f41872540d
commit
ff04ab3b92
src/libtomahawk
@ -64,6 +64,8 @@ PlaylistUpdaterInterface::PlaylistUpdaterInterface( const playlist_ptr& pl )
|
||||
connect( m_timer, SIGNAL( timeout() ), this, SLOT( updateNow() ) );
|
||||
|
||||
QTimer::singleShot( 0, this, SLOT( doSave() ) );
|
||||
|
||||
setAutoUpdate( m_autoUpdate );
|
||||
}
|
||||
|
||||
PlaylistUpdaterInterface::PlaylistUpdaterInterface( const playlist_ptr& pl, int interval, bool autoUpdate )
|
||||
|
@ -263,7 +263,7 @@ XSPFLoader::gotBody()
|
||||
|
||||
// 10 minute default---for now, no way to change it
|
||||
connect( m_playlist.data(), SIGNAL( revisionLoaded( Tomahawk::PlaylistRevision ) ), this, SLOT( playlistCreated() ) );
|
||||
new Tomahawk::XspfUpdater( m_playlist, 6000000, m_autoUpdate, m_url.toString() );
|
||||
new Tomahawk::XspfUpdater( m_playlist, 600000, m_autoUpdate, m_url.toString() );
|
||||
emit ok( m_playlist );
|
||||
}
|
||||
else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user