Commit 515ed846 authored by Marko Mattila's avatar Marko Mattila

Now actually using description instead of a title when item sharing is restarted.

parent feed571f
...@@ -766,7 +766,7 @@ MediaItem * DbManager::mediaItem(int key) const ...@@ -766,7 +766,7 @@ MediaItem * DbManager::mediaItem(int key) const
// this point if there isn't anything... // this point if there isn't anything...
if (query.next()) { if (query.next()) {
item->setValue(MediaItem::Title, query.value(rec.indexOf("title"))); item->setValue(MediaItem::Title, query.value(rec.indexOf("title")));
item->setValue(MediaItem::Title, query.value(rec.indexOf("description"))); item->setValue(MediaItem::Description, query.value(rec.indexOf("description")));
} }
query.finish(); query.finish();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment