summaryrefslogtreecommitdiffstats
path: root/src/library/basetrackcache.cpp
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2020-02-27 21:21:37 +0100
committerUwe Klotz <uklotz@mixxx.org>2020-02-28 01:15:59 +0100
commit0e32f6c4a918760f76c08fd2445b710942d004fe (patch)
tree606b844062d256c9b47da769e6409f181cd78452 /src/library/basetrackcache.cpp
parentea530eb5d72a5ef5f532017bb27fc1de29538c49 (diff)
Add conversion functions between RgbColor and various Qt types
Diffstat (limited to 'src/library/basetrackcache.cpp')
-rw-r--r--src/library/basetrackcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/basetrackcache.cpp b/src/library/basetrackcache.cpp
index 5057986dc1..29d7e7dbfd 100644
--- a/src/library/basetrackcache.cpp
+++ b/src/library/basetrackcache.cpp
@@ -416,7 +416,7 @@ void BaseTrackCache::getTrackValueForColumn(TrackPointer pTrack,
} else if (fieldIndex(ColumnCache::COLUMN_LIBRARYTABLE_BPM_LOCK) == column) {
trackValue.setValue(pTrack->isBpmLocked());
} else if (fieldIndex(ColumnCache::COLUMN_LIBRARYTABLE_COLOR) == column) {
- trackValue.setValue(toQVariant(pTrack->getColor()));
+ trackValue.setValue(mixxx::RgbColor::toQVariant(pTrack->getColor()));
} else if (fieldIndex(ColumnCache::COLUMN_LIBRARYTABLE_COVERART_LOCATION) == column) {
trackValue.setValue(pTrack->getCoverInfo().coverLocation);
} else if (fieldIndex(ColumnCache::COLUMN_LIBRARYTABLE_COVERART_HASH) == column ||