1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-25 20:33:20 +01:00

* Style fixes.

This commit is contained in:
Christian Muehlhaeuser 2013-09-06 19:22:27 +02:00
parent c31f0ad9c7
commit b9133e57ba
4 changed files with 10 additions and 6 deletions

View File

@ -361,6 +361,7 @@ Servent::deleteLazyOffer( const QString& key )
}
}
void
Servent::registerControlConnection( ControlConnection* conn )
{
@ -844,7 +845,7 @@ Servent::handoverSocket( Connection* conn, QTcpSocketExtra* sock )
void
Servent::cleanupSocket( QTcpSocketExtra *sock )
Servent::cleanupSocket( QTcpSocketExtra* sock )
{
if ( !sock )
{
@ -869,7 +870,7 @@ Servent::initiateConnection( const SipInfo& sipInfo, Connection* conn )
Q_ASSERT( conn );
// Check that we are not connecting to ourselves
foreach( QHostAddress ha, d_func()->externalAddresses )
foreach ( QHostAddress ha, d_func()->externalAddresses )
{
if ( sipInfo.host() == ha.toString() )
{
@ -967,6 +968,7 @@ Servent::checkACLResult( const QString& nodeid, const QString& username, Tomahaw
d_func()->queuedForACLResult[username].remove( nodeid );
}
void
Servent::ipDetected()
{
@ -1075,6 +1077,7 @@ Servent::additionalPort() const
return d_func()->externalPort;
}
bool
equalByIPv6Address( QHostAddress a1, QHostAddress a2 )
{
@ -1089,6 +1092,7 @@ equalByIPv6Address( QHostAddress a1, QHostAddress a2 )
return true;
}
// return the appropriate connection for a given offer key, or NULL if invalid
Connection*
Servent::claimOffer( ControlConnection* cc, const QString &nodeid, const QString &key, const QHostAddress peer )
@ -1330,7 +1334,7 @@ Servent::numConnectedPeers() const
}
QList<StreamConnection *>
QList<StreamConnection*>
Servent::streams() const
{
return d_func()->scsessions;
@ -1417,6 +1421,7 @@ Servent::httpIODeviceFactory( const Tomahawk::result_ptr& result,
reply, callback )->setAutoDelete( true );
}
void
Servent::httpIODeviceReady( NetworkReply* reply, IODeviceCallback callback )
{

View File

@ -103,7 +103,6 @@ NetworkReply::metaDataChanged()
emit finalUrlReached( m_url );
}
}
}
@ -116,6 +115,7 @@ NetworkReply::connectReplySignals()
connect( m_reply, SIGNAL( metaDataChanged() ), SLOT( metaDataChanged() ) );
}
void
NetworkReply::disconnectReplySignals()
{

View File

@ -58,7 +58,7 @@ CheckDirModel::cleanup()
#ifdef Q_OS_MAC
// reset to previous state
if ( m_shownVolumes )
QProcess::startDetached( QString( "%1 -a V %2" ).arg( m_setFilePath).arg( s_macVolumePath ) );
QProcess::startDetached( QString( "%1 -a V %2" ).arg( m_setFilePath ).arg( s_macVolumePath ) );
#endif
}

View File

@ -215,7 +215,6 @@ SourceTreeView::setupMenus()
{
loadPlaylistAction = ActionCollection::instance()->getAction( "loadStation" );
renamePlaylistAction = ActionCollection::instance()->getAction( "renameStation" );
}
else
{