Browse files

No need for JSON actually, because there's a source column we can use.

  • Loading branch information...
1 parent d0d2278 commit 5fb6fadfe86adcdbff87cbc8fe08fc0b34e5c3aa @teo teo committed Apr 9, 2013
Showing with 1 addition and 7 deletions.
  1. +1 −7 src/libtomahawk/database/DatabaseCommand_ShareTrack.cpp
View
8 src/libtomahawk/database/DatabaseCommand_ShareTrack.cpp
@@ -65,13 +65,7 @@ DatabaseCommand_ShareTrack::exec( DatabaseImpl* dbi )
if ( myDbid != m_recipient || sourceDbid == m_recipient )
return;
- //we store the comment field as JSON: { sender: dbid, unlistened: bool }
- QVariantMap comment;
- comment.insert( "sender", sourceDbid );
- comment.insert( "unlistened", true );
-
- QJson::Serializer serializer;
- setComment( serializer.serialize( comment ) );
+ setComment( "true" /*unlistened*/ );
DatabaseCommand_SocialAction::exec( dbi );
}

0 comments on commit 5fb6fad

Please sign in to comment.