Skip to content

Commit

Permalink
[nemo-transfer-engine] Now title or description is actually stored to…
Browse files Browse the repository at this point in the history
… the database.
  • Loading branch information
Marko Mattila committed Feb 5, 2014
1 parent 5189dd0 commit feed571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbmanager.cpp
Expand Up @@ -451,7 +451,7 @@ int DbManager::createTransferEntry(MediaItem *mediaItem)
// Create a metadata entry if user has passed any
const QString title = mediaItem->value(MediaItem::Title).toString();
const QString desc = mediaItem->value(MediaItem::Description).toString();
if (!title.isEmpty() && !desc.isEmpty()) {
if (!title.isEmpty() || !desc.isEmpty()) {
if (createMetadataEntry(rowId.toInt(), title, desc) < 0){
qWarning() << "DbManager::createTransferEntry: Failed to create metadata entry";
return -1;
Expand Down

0 comments on commit feed571

Please sign in to comment.