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

* Make sure to delete old Jabber instance before creating a new one.

This commit is contained in:
Christian Muehlhaeuser
2010-12-08 12:57:24 +01:00
parent fe08bff21c
commit cc22411dc2

View File

@@ -35,6 +35,7 @@ JabberPlugin::connect()
return false; return false;
} }
delete p;
p = new Jabber_p( jid, password, server, port ); p = new Jabber_p( jid, password, server, port );
QObject::connect( p, SIGNAL( peerOnline( QString ) ), SIGNAL( peerOnline( QString ) ) ); QObject::connect( p, SIGNAL( peerOnline( QString ) ), SIGNAL( peerOnline( QString ) ) );