mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 00:54:20 +02:00
Now that it's not just jabber that is autoconnected, don't ignore the
option...
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
|
||||
SipHandler::SipHandler( QObject* parent )
|
||||
: QObject( parent )
|
||||
, m_connected( false )
|
||||
{
|
||||
m_connected = false;
|
||||
loadPlugins( findPlugins() );
|
||||
}
|
||||
|
||||
|
@@ -418,7 +418,8 @@ TomahawkApp::setupSIP()
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO;
|
||||
|
||||
if( !arguments().contains( "--nosip" ) )
|
||||
//FIXME: jabber autoconnect is really more, now that there is sip -- should be renamed and/or split out of jabber-specific settings
|
||||
if( !arguments().contains( "--nosip" ) && TomahawkSettings::instance()->jabberAutoConnect() )
|
||||
{
|
||||
m_xmppBot = new XMPPBot( this );
|
||||
qDebug() << "Connecting SIP classes";
|
||||
|
Reference in New Issue
Block a user