1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01:00

6048 Commits

Author SHA1 Message Date
Christian Muehlhaeuser
32651b5a13 * To emulate QNetworkReply's behaviour, we need to emit finished() after an error occured. 2013-04-26 10:50:31 +02:00
Christian Muehlhaeuser
13ab38ae8f * New WebResultHintChecker API. Class will be renamed soon. 2013-04-26 10:50:24 +02:00
Christian Muehlhaeuser
5fe963fa50 * Don't launch WebResultHintChecker from PlaylistModel. 2013-04-26 10:44:59 +02:00
Christian Muehlhaeuser
cde8fe3c1f * Moved PlaylistEntry class into separate files. 2013-04-26 09:49:18 +02:00
Christian Muehlhaeuser
8d64785f0d * Use tDebug(). 2013-04-26 09:10:36 +02:00
Christian Muehlhaeuser
7b4c025b2a * Always sync the PlaylistEntry's result-hint to the database - never the Query's. 2013-04-26 09:10:23 +02:00
Christian Muehlhaeuser
5cdc8e40c6 * Only update playlist when a result-hint has been changed. 2013-04-26 09:09:49 +02:00
Christian Muehlhaeuser
9dbdffd0ef * Query::resolvingFinished should indicate whether there are any results, not whether the Query is solved. 2013-04-26 09:08:52 +02:00
Christian Muehlhaeuser
a0a906b891 * Can't initialize delegates with NULL parent or proxy. 2013-04-26 07:53:52 +02:00
Christian Muehlhaeuser
6b6b331fa8 * The delegates should take care of hooking up the updateIndex( QModelIndex ) signal to the view. 2013-04-26 07:51:50 +02:00
Christian Muehlhaeuser
2a45a53283 * If we don't set the style before we set the model, the cover methods won't be hooked up. 2013-04-26 07:45:12 +02:00
Christian Muehlhaeuser
bd7f7420a4 * If we set a new model it might already contain content, so we need to call onViewChanged to check if we need to load covers / metadata. 2013-04-26 07:43:37 +02:00
Christian Muehlhaeuser
8c06c3ab6a * Always initialize the style option, so we set the right selection state. 2013-04-26 07:17:26 +02:00
Teo Mrnjavac
8c4f6d7917 Avoid mysterious constants of doom in delegates. 2013-04-26 07:07:51 +02:00
Teo Mrnjavac
161e287877 Make blue dots in inbox smaller. 2013-04-26 07:01:22 +02:00
Christian Muehlhaeuser
59124fb270 * Show 'Searching...' / 'Not available' in detailed playlist view. 2013-04-26 06:59:32 +02:00
Christian Muehlhaeuser
208da545f4 * Style fix. 2013-04-26 06:38:58 +02:00
Christian Muehlhaeuser
859e2e4a7b * Save & restore queue across sessions. 2013-04-26 06:38:48 +02:00
Christian Muehlhaeuser
a074af2c22 * Added methods to save / load queue state. 2013-04-26 06:37:49 +02:00
Christian Muehlhaeuser
2b6081f4c7 * Fixed PlaylistItemDelegate swallowing mouse events, which prevented TrackView from triggering D&D operations. 2013-04-26 06:06:44 +02:00
Christian Muehlhaeuser
9a1ed86d62 * Fixed loading social actions in AudioControls. 2013-04-26 05:18:47 +02:00
Christian Muehlhaeuser
aef1dcec59 * Fixed cover loading in AudioControls. 2013-04-26 05:15:32 +02:00
Christian Muehlhaeuser
a39a981289 * Make SpotifyPlaylistUpdater check for playlists being loaded. 2013-04-26 05:06:24 +02:00
Christian Muehlhaeuser
8b21d47667 * Style cleanups. 2013-04-26 03:15:20 +02:00
Christian Muehlhaeuser
3d974786d0 * Load playlists before showing them. 2013-04-26 03:15:20 +02:00
Christian Muehlhaeuser
e1ab051d75 * Don't load playlists on startup. 2013-04-26 03:15:19 +02:00
Christian Muehlhaeuser
f024fb5fc8 * PlaylistItems don't need to worry about playlists being loaded anymore. 2013-04-26 03:15:19 +02:00
Christian Muehlhaeuser
efb00795e5 * Call setLoaded() from DynamicPlaylist. 2013-04-26 03:15:19 +02:00
Christian Muehlhaeuser
3131390e51 * Added setLoaded( bool ) to Playlist, for derived classes to make use of. 2013-04-26 03:15:19 +02:00
Christian Muehlhaeuser
737b8e46ae * RecentPlaylistsModel needs to manually load playlists now. 2013-04-26 03:15:19 +02:00
Christian Muehlhaeuser
babc3cf0d3 * Only try to update playlist if it's loaded. 2013-04-26 03:15:19 +02:00
Christian Muehlhaeuser
01e3c3b5b3 * Playlist now queues addEntries/insertEntries calls if it's not loaded yet. 2013-04-26 03:15:19 +02:00
Teo Mrnjavac
6b5d30d936 Remove yellow tint. 2013-04-25 22:28:01 +02:00
Teo Mrnjavac
59e6c7b83d Added nice blue dot to new inbox entries. 2013-04-25 22:25:13 +02:00
Christian Muehlhaeuser
f6b3600e69 * Mark temporary playlists as such. 2013-04-23 18:42:52 +02:00
Christian Muehlhaeuser
c52469ff1f * Added ViewManager::createPageForList( queries ). 2013-04-23 15:47:46 +02:00
Christian Muehlhaeuser
839197e902 * Don't crash when we couldn't retrieve the playlist. 2013-04-23 12:39:54 +02:00
Christian Muehlhaeuser
d9a82109f5 * RecentlyPlayedModel needs to use Source's new signal. 2013-04-23 12:39:53 +02:00
Christian Muehlhaeuser
ad314585b9 * PlayableModel::insertQuery now also accepts PlaybackLogs. 2013-04-23 12:39:53 +02:00
Christian Muehlhaeuser
4b673d0c97 * Played / PlaybackFinished signals now use our PlaybackLog struct. 2013-04-23 12:39:53 +02:00
Teo Mrnjavac
f7ad8cb799 Cache icon and text for Inbox item. 2013-04-23 10:08:26 +02:00
Teo Mrnjavac
024a1f74b3 Added unlistened count to Inbox item in sources view. 2013-04-23 03:41:58 +02:00
Teo Mrnjavac
f9edc04b04 Mark tracks as listened when they are played in the Inbox. 2013-04-23 03:41:58 +02:00
Teo Mrnjavac
866c8d4bec Draw new tracks in inbox differently. 2013-04-23 03:41:58 +02:00
Dominik Schmidt
ce95e6b761 Don't use interface as varname as MinGW doesn't like that 2013-04-22 15:47:39 +02:00
Christian Muehlhaeuser
b1a159a7cb * Only keep one temporary cover art image. 2013-04-22 11:27:32 +02:00
Christian Muehlhaeuser
f6b2e17792 * Fixed fulltext querying. 2013-04-22 10:51:07 +02:00
Christian Muehlhaeuser
75d02a982d * Fixed setting timestamp on locally started tracks. 2013-04-22 10:30:42 +02:00
Christian Muehlhaeuser
4737197987 * Don't be too verbose. 2013-04-22 09:44:25 +02:00
Christian Muehlhaeuser
d0207152b6 * Don't double-check playback-logs for remotes. 2013-04-22 09:39:17 +02:00