1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

Style and fix merge

This commit is contained in:
Leo Franchi 2012-06-14 17:09:13 +02:00
parent c2363e0967
commit 5b98bc9c75
2 changed files with 2 additions and 8 deletions

View File

@ -166,7 +166,7 @@ GlobalActionManager::getShortLink( const playlist_ptr& pl )
// No built-in Qt facilities for doing a FORM POST. So we build the payload ourselves...
const QByteArray boundary = "----------------------------2434992cccab";
QByteArray data(QByteArray("--" + boundary + "\r\n"));
QByteArray data( QByteArray( "--" + boundary + "\r\n" ) );
data += "Content-Disposition: form-data; name=\"data\"; filename=\"playlist.jspf\"\r\n";
data += "Content-Type: application/octet-stream\r\n\r\n";
data += msg;
@ -1233,13 +1233,6 @@ GlobalActionManager::waitingForResolved( bool /* success */ )
}
QString
GlobalActionManager::hostname() const
{
return QString( "http://stage.toma.hk" );
}
/// SPOTIFY URL HANDLING
bool

View File

@ -2,6 +2,7 @@
*
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
* Copyright 2010-2012, Leo Franchi <lfranchi@kde.org>
*
* Tomahawk is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by