mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-20 16:02:07 +02:00
QString() is a much faster version of ""
This commit is contained in:
parent
e070885937
commit
1cd3340e04
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user