summaryrefslogtreecommitdiff
path: root/src/database/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/index.cpp')
-rw-r--r--src/database/index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/index.cpp b/src/database/index.cpp
index c7fd753a..4d1f7b06 100644
--- a/src/database/index.cpp
+++ b/src/database/index.cpp
@@ -89,7 +89,7 @@ auto Index(const IndexInfo& info, const Track& t, leveldb::WriteBatch* batch)
// If this is the last component, then we should also fill in the track id
// and title.
if (i == info.components.size() - 1) {
- key.track = t.data().id();
+ key.track = t.data().id;
value = t.TitleOrFilename();
}