1
0
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:
Uwe L. Korn 2014-11-16 11:24:10 +01:00
parent e070885937
commit 1cd3340e04
2 changed files with 2 additions and 2 deletions

View File

@ -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 )
{}

View File

@ -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 )