mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
* Style fixes.
This commit is contained in:
@@ -361,6 +361,7 @@ Servent::deleteLazyOffer( const QString& key )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Servent::registerControlConnection( ControlConnection* conn )
|
Servent::registerControlConnection( ControlConnection* conn )
|
||||||
{
|
{
|
||||||
@@ -844,7 +845,7 @@ Servent::handoverSocket( Connection* conn, QTcpSocketExtra* sock )
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Servent::cleanupSocket( QTcpSocketExtra *sock )
|
Servent::cleanupSocket( QTcpSocketExtra* sock )
|
||||||
{
|
{
|
||||||
if ( !sock )
|
if ( !sock )
|
||||||
{
|
{
|
||||||
@@ -869,7 +870,7 @@ Servent::initiateConnection( const SipInfo& sipInfo, Connection* conn )
|
|||||||
Q_ASSERT( conn );
|
Q_ASSERT( conn );
|
||||||
|
|
||||||
// Check that we are not connecting to ourselves
|
// 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() )
|
if ( sipInfo.host() == ha.toString() )
|
||||||
{
|
{
|
||||||
@@ -967,6 +968,7 @@ Servent::checkACLResult( const QString& nodeid, const QString& username, Tomahaw
|
|||||||
d_func()->queuedForACLResult[username].remove( nodeid );
|
d_func()->queuedForACLResult[username].remove( nodeid );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Servent::ipDetected()
|
Servent::ipDetected()
|
||||||
{
|
{
|
||||||
@@ -1075,6 +1077,7 @@ Servent::additionalPort() const
|
|||||||
return d_func()->externalPort;
|
return d_func()->externalPort;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
equalByIPv6Address( QHostAddress a1, QHostAddress a2 )
|
equalByIPv6Address( QHostAddress a1, QHostAddress a2 )
|
||||||
{
|
{
|
||||||
@@ -1089,6 +1092,7 @@ equalByIPv6Address( QHostAddress a1, QHostAddress a2 )
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// return the appropriate connection for a given offer key, or NULL if invalid
|
// return the appropriate connection for a given offer key, or NULL if invalid
|
||||||
Connection*
|
Connection*
|
||||||
Servent::claimOffer( ControlConnection* cc, const QString &nodeid, const QString &key, const QHostAddress peer )
|
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
|
Servent::streams() const
|
||||||
{
|
{
|
||||||
return d_func()->scsessions;
|
return d_func()->scsessions;
|
||||||
@@ -1417,6 +1421,7 @@ Servent::httpIODeviceFactory( const Tomahawk::result_ptr& result,
|
|||||||
reply, callback )->setAutoDelete( true );
|
reply, callback )->setAutoDelete( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Servent::httpIODeviceReady( NetworkReply* reply, IODeviceCallback callback )
|
Servent::httpIODeviceReady( NetworkReply* reply, IODeviceCallback callback )
|
||||||
{
|
{
|
||||||
|
@@ -103,7 +103,6 @@ NetworkReply::metaDataChanged()
|
|||||||
emit finalUrlReached( m_url );
|
emit finalUrlReached( m_url );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -116,6 +115,7 @@ NetworkReply::connectReplySignals()
|
|||||||
connect( m_reply, SIGNAL( metaDataChanged() ), SLOT( metaDataChanged() ) );
|
connect( m_reply, SIGNAL( metaDataChanged() ), SLOT( metaDataChanged() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
NetworkReply::disconnectReplySignals()
|
NetworkReply::disconnectReplySignals()
|
||||||
{
|
{
|
||||||
|
@@ -58,7 +58,7 @@ CheckDirModel::cleanup()
|
|||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
// reset to previous state
|
// reset to previous state
|
||||||
if ( m_shownVolumes )
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -215,7 +215,6 @@ SourceTreeView::setupMenus()
|
|||||||
{
|
{
|
||||||
loadPlaylistAction = ActionCollection::instance()->getAction( "loadStation" );
|
loadPlaylistAction = ActionCollection::instance()->getAction( "loadStation" );
|
||||||
renamePlaylistAction = ActionCollection::instance()->getAction( "renameStation" );
|
renamePlaylistAction = ActionCollection::instance()->getAction( "renameStation" );
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user