redundant slot connection...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

redundant slot connection...

Gilles Caulier-4
Hi all,

look in DigikamView::line 363 :

    connect(d->albumManager, SIGNAL(signalAlbumDeleted(Album*)),
            this, SLOT(slotAlbumDeleted(Album*)));

...which is connected to :

void DigikamView::slotAlbumDeleted(Album* album)
{
    d->albumHistory->deleteAlbum(album);
}

...and now in DigikamView::line 555 :

     connect(d->albumManager, SIGNAL(signalAlbumDeleted(Album*)),
            d->albumHistory, SLOT(slotAlbumDeleted(Album*)));

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: redundant slot connection...

Gilles Caulier-4
I can also see this broken connection on the console :

Object::connect: No such slot
Digikam::DigikamImageView::setSelectedImageInfos(const
QList<ImageInfo>&) in
/mnt/data/Devel/SVN/branches/digikam/core/digikam/digikamview.cpp:553

Gilles

2011/1/25 Gilles Caulier <[hidden email]>:

> Hi all,
>
> look in DigikamView::line 363 :
>
>    connect(d->albumManager, SIGNAL(signalAlbumDeleted(Album*)),
>            this, SLOT(slotAlbumDeleted(Album*)));
>
> ...which is connected to :
>
> void DigikamView::slotAlbumDeleted(Album* album)
> {
>    d->albumHistory->deleteAlbum(album);
> }
>
> ...and now in DigikamView::line 555 :
>
>     connect(d->albumManager, SIGNAL(signalAlbumDeleted(Album*)),
>            d->albumHistory, SLOT(slotAlbumDeleted(Album*)));
>
> Gilles Caulier
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel