Connection error in AlbumDragDropHandler

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

Connection error in AlbumDragDropHandler

Johannes Wienke-3
Hi,

AlbumDragDropHandler contains these lines:
        if(choice == moveAction)
        {
        // FIXME there is no such slot
            KIO::Job* job = DIO::move(droppedAlbum, destAlbum);
            connect(job, SIGNAL(result(KJob*)),
                    this, SLOT(slotDIOResult(KJob*)));
        }

The slot doesn't exists. Does anyone know what this was supposed to do?

Johannes


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Connection error in AlbumDragDropHandler

Marcel Wiesweg
>
> AlbumDragDropHandler contains these lines:
>         if(choice == moveAction)
>         {
>         // FIXME there is no such slot
>             KIO::Job* job = DIO::move(droppedAlbum, destAlbum);
>             connect(job, SIGNAL(result(KJob*)),
>                     this, SLOT(slotDIOResult(KJob*)));
>         }
>
> The slot doesn't exists. Does anyone know what this was supposed to do?

I changed it to a signal, but that signal still needs a slot.
See ImageViewUtilities::slotDIOResult. Just a central place for error
handling.

>
> Johannes
>

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel