Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d4eef4c0 authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Remove not necessary line

parent d4fbb9f4
......@@ -69,12 +69,12 @@ JabberChatSession::JabberChatSession (JabberProtocol *protocol, const JabberBase
QAction *jingleSessionGui = new QAction(i18n("Show audio calls"), members().first());
jingleSessionGui->setIcon(QIcon::fromTheme(QStringLiteral("voicecall")));
connect(jingleSessionGui, SIGNAL(triggered(bool)), SLOT(slotJingleSessionGui()));
setComponentData(protocol->componentData());
QAction *jingleSession = new QAction(i18n("Start audio call"), members().first());
jingleSession->setIcon(QIcon::fromTheme(QStringLiteral("voicecall")));
connect(jingleSession, SIGNAL(triggered(bool)), SLOT(slotJingleSession()));
setComponentData(protocol->componentData());
Kopete::ContactPtrList chatMembers = members();
if (!chatMembers.isEmpty()) {
......@@ -90,12 +90,12 @@ JabberChatSession::JabberChatSession (JabberProtocol *protocol, const JabberBase
/*QAction *jingleaudiocall = new QAction(i18n("Jingle Audio call" ), members().first());
connect(jingleaudiocall, SIGNAL(triggered(bool)), SLOT (slotJingleAudioCall()));
setComponentData(protocol->componentData());
jingleaudiocall->setEnabled( false );
QAction *jinglevideocall = new QAction(i18n("Jingle Video call" ), members().first());
connect(jinglevideocall, SIGNAL(triggered(bool)), SLOT (slotJingleVideoCall()));
setComponentData(protocol->componentData());
jinglevideocall->setEnabled( false );*/
//Kopete::ContactPtrList chatMembers = members ();
......
......@@ -36,7 +36,6 @@ YahooChatChatSession::YahooChatChatSession( Kopete::Protocol *protocol, const Ko
: Kopete::ChatSession( user, others, protocol )
{
Kopete::ChatSessionManager::self()->registerChatSession( this );
//KF5 FIXME setComponentData(protocol->componentData());
connect ( this, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)),
SLOT(slotMessageSent(Kopete::Message&,Kopete::ChatSession*)) );
......
......@@ -54,7 +54,7 @@ YahooChatSession::YahooChatSession( Kopete::Protocol *protocol, const Kopete::Co
{
kDebug(YAHOO_GEN_DEBUG) ;
Kopete::ChatSessionManager::self()->registerChatSession( this );
//setComponentData(protocol->componentData());
//
// Add Actions
QAction *buzzAction = new QAction( QIcon::fromTheme(QStringLiteral("bell")), i18n( "Buzz Contact" ), this );
......
......@@ -43,7 +43,6 @@ YahooConferenceChatSession::YahooConferenceChatSession( const QString & yahooRoo
{
Kopete::ChatSessionManager::self()->registerChatSession( this );
//KF5 FIXME setComponentData(protocol->componentData());
connect ( this, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)),
SLOT(slotMessageSent(Kopete::Message&,Kopete::ChatSession*)) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment