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

* Fixed dupe connections (hopefully).

This commit is contained in:
Christian Muehlhaeuser
2010-11-29 09:17:56 +01:00
parent 40fc9d5c57
commit 7a21354f57
2 changed files with 3 additions and 3 deletions

View File

@@ -640,8 +640,8 @@ TomahawkApp::jabberMessage( const QString& from, const QString& msg )
else else
{ {
qDebug() << Q_FUNC_INFO << "They are not visible, doing nothing atm"; qDebug() << Q_FUNC_INFO << "They are not visible, doing nothing atm";
if ( m_servent.visibleExternally() ) // if ( m_servent.visibleExternally() )
jabberPeerOnline( from ); // HACK FIXME // jabberPeerOnline( from ); // HACK FIXME
} }
} }

View File

@@ -42,7 +42,6 @@ TransferView::fileTransferRegistered( FileTransferConnection* ftc )
{ {
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
connect( ftc, SIGNAL( updated() ), SLOT( onTransferUpdate() ) ); connect( ftc, SIGNAL( updated() ), SLOT( onTransferUpdate() ) );
emit showWidget();
} }
@@ -87,6 +86,7 @@ TransferView::onTransferUpdate()
{ {
ti = new QTreeWidgetItem( m_tree ); ti = new QTreeWidgetItem( m_tree );
m_index.insert( ftc, m_tree->invisibleRootItem()->childCount() - 1 ); m_index.insert( ftc, m_tree->invisibleRootItem()->childCount() - 1 );
emit showWidget();
} }
if ( !ti ) if ( !ti )