mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-30 19:00:12 +02:00
QString() is a much faster version of ""
This commit is contained in:
@@ -40,7 +40,7 @@ DatabaseCommand_ShareTrack::DatabaseCommand_ShareTrack( QObject* parent )
|
||||
DatabaseCommand_ShareTrack::DatabaseCommand_ShareTrack( const Tomahawk::trackdata_ptr& track,
|
||||
const QString& recipientDbid,
|
||||
QObject* parent )
|
||||
: DatabaseCommand_SocialAction( track, "Inbox", "", parent )
|
||||
: DatabaseCommand_SocialAction( track, "Inbox", QString(), parent )
|
||||
, m_recipient( recipientDbid )
|
||||
{}
|
||||
|
||||
|
@@ -72,7 +72,7 @@ public:
|
||||
*
|
||||
* Constructor which creates a new database command for the specified social action.
|
||||
*/
|
||||
explicit DatabaseCommand_SocialAction( const Tomahawk::trackdata_ptr& track, QString action, QString comment = "", QObject* parent = 0 )
|
||||
explicit DatabaseCommand_SocialAction( const Tomahawk::trackdata_ptr& track, QString action, QString comment = QString(), QObject* parent = 0 )
|
||||
: DatabaseCommandLoggable( parent )
|
||||
, m_track( track )
|
||||
, m_comment( comment )
|
||||
|
Reference in New Issue
Block a user