1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 08:04:25 +02:00

sipjreen: fix build

This commit is contained in:
Dominik Schmidt
2011-05-03 16:12:32 +02:00
parent 2772e69a40
commit 5b961e1a58

View File

@@ -29,6 +29,8 @@
#include <jreen/capabilities.h> #include <jreen/capabilities.h>
#include <jreen/vcardupdate.h> #include <jreen/vcardupdate.h>
#include <jreen/vcard.h> #include <jreen/vcard.h>
#include <jreen/directconnection.h>
#include <jreen/tcpconnection.h>
#include <qjson/parser.h> #include <qjson/parser.h>
#include <qjson/serializer.h> #include <qjson/serializer.h>
@@ -125,10 +127,10 @@ JabberPlugin::setProxy( QNetworkProxy* proxy )
if(!m_client->connection()) if(!m_client->connection())
{ {
m_client->setConnection(new TcpConnection(m_currentServer, m_currentPort)); m_client->setConnection(new Jreen::TcpConnection(m_currentServer, m_currentPort));
} }
qobject_cast<DirectConnection*>(m_client->connection())->setProxy(proxy); qobject_cast<Jreen::DirectConnection*>(m_client->connection())->setProxy(*proxy);
} }