mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Fix style.
This commit is contained in:
committed by
Leo Franchi
parent
991269e5d9
commit
7d13c56081
@@ -151,8 +151,8 @@ Jabber_p::go()
|
|||||||
if( m_client->connect( false ) )
|
if( m_client->connect( false ) )
|
||||||
{
|
{
|
||||||
int sock = static_cast<ConnectionTCPClient*>( m_client->connectionImpl() )->socket();
|
int sock = static_cast<ConnectionTCPClient*>( m_client->connectionImpl() )->socket();
|
||||||
notifier_.reset( new QSocketNotifier( sock, QSocketNotifier::Read ) );
|
m_notifier.reset( new QSocketNotifier( sock, QSocketNotifier::Read ) );
|
||||||
connect( notifier_.data(), SIGNAL(activated(int)), SLOT(doJabberRecv()));
|
connect( m_notifier.data(), SIGNAL( activated(int) ), SLOT( doJabberRecv() ));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qDebug() << "Could not connect to the XMPP server!";
|
qDebug() << "Could not connect to the XMPP server!";
|
||||||
|
@@ -139,7 +139,7 @@ private:
|
|||||||
QMap<QString, gloox::Presence::PresenceType> m_peers;
|
QMap<QString, gloox::Presence::PresenceType> m_peers;
|
||||||
QSharedPointer<gloox::VCardManager> m_vcardManager;
|
QSharedPointer<gloox::VCardManager> m_vcardManager;
|
||||||
QString m_server;
|
QString m_server;
|
||||||
QScopedPointer<QSocketNotifier> notifier_;
|
QScopedPointer<QSocketNotifier> m_notifier;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // JABBER_H
|
#endif // JABBER_H
|
||||||
|
Reference in New Issue
Block a user