SVN commit 1036740 by toma: Repair signals after API changes M +4 -5 composer.cpp M +1 -1 contacttooltipproxymodel.cpp --- trunk/extragear/pim/mailody/src/composer.cpp #1036739:1036740 @@ -108,11 +108,6 @@ SIGNAL( customContextMenuRequested( const QPoint & ) ), SLOT( slotContextMenuAddressBook() ) ); - // signal coming from the dialog with detail info - connect( tooltip, - SIGNAL( mailClicked( const QString& ) ), - SLOT( slotAddAddress( const QString& ) ) ); - QDockWidget* addressDock = new QDockWidget( i18n( "Add&ress Book" ), this ); addressDock->setWidget( m_addressbookView ); addressDock->setObjectName( "addressDock" ); @@ -217,6 +212,10 @@ connect( m_recipientWidget, SIGNAL( dirty() ), SLOT( slotSetDirty() ) ); + // signal coming from the dialog with detail info + connect( tooltip, SIGNAL( mailClicked( const QString& ) ), + m_recipientWidget, SLOT( slotAddAddress( const QString& ) ) ); + m_alabel = new QLabel( i18n( "Attached:" )+' ', widg ); m_attachview = new AttachmentWidget( widg ); connect( m_attachview, SIGNAL( noAttachmentsLeft() ), --- trunk/extragear/pim/mailody/src/contacttooltipproxymodel.cpp #1036739:1036740 @@ -31,7 +31,7 @@ : QSortFilterProxyModel( parent ) { m_contactViewer = new Akonadi::ContactViewerDialog( 0 ); - connect( m_contactViewer, + connect( m_contactViewer->viewer(), SIGNAL( emailClicked( const QString&, const QString& ) ), SLOT( slotMailClicked( const QString&, const QString& ) ) ); m_contactViewer->hide();