summaryrefslogtreecommitdiffstats
path: root/src/dlgautodj.h
diff options
context:
space:
mode:
authorMarcos CARDINOT <mcardinot@gmail.com>2014-06-08 18:00:00 +0100
committerMarcos CARDINOT <mcardinot@gmail.com>2014-06-08 18:00:00 +0100
commitdc3240882588bf0d384476c5985e6060532093d2 (patch)
treea6ba474d81e510972b11eb5b2b252966036bd037 /src/dlgautodj.h
parent43cbc884f5057057c8a15697a04c2450057de759 (diff)
Initial refactoring - loading covers from coverLocation and trackId instead of using TIO.
Using TIO requeries a lot of unnecessary information for coverart stuff and it can make the loading/searching process slower when the user request a lot of pixmaps at the same time.
Diffstat (limited to 'src/dlgautodj.h')
-rw-r--r--src/dlgautodj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dlgautodj.h b/src/dlgautodj.h
index a555b79591..838e5c0094 100644
--- a/src/dlgautodj.h
+++ b/src/dlgautodj.h
@@ -50,7 +50,7 @@ class DlgAutoDJ : public QWidget, public Ui::DlgAutoDJ, public LibraryView {
void addRandomButton(bool buttonChecked);
void loadTrack(TrackPointer tio);
void loadTrackToPlayer(TrackPointer tio, QString group, bool);
- void loadCoverArt(TrackPointer tio);
+ void loadCoverArt(QString coverLocation, int trackId);
private:
enum ADJstates {