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:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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 )
|
||||||
|
Reference in New Issue
Block a user