Git commit 491a0f9d66bf4fdf915036023078c4f1ab52e96d by Mohamed Anwer. Committed on 31/01/2014 at 22:32. Pushed by mohamedanwer into branch 'master'. Enabling Dropping Folders in canvas M +2 -2 showfoto/main/showfoto.cpp http://commits.kde.org/digikam/491a0f9d66bf4fdf915036023078c4f1ab52e96d diff --git a/showfoto/main/showfoto.cpp b/showfoto/main/showfoto.cpp index 614b3c0..96ce730 100644 --- a/showfoto/main/showfoto.cpp +++ b/showfoto/main/showfoto.cpp @@ -998,7 +998,7 @@ void ShowFoto::slotDeleteCurrentItemResult(KJob* job) } = // No error, remove item in thumbbar. - //d->model->removeShowfotoItemInfo(d->thumbBar->currentInfo()); + //d->model->removeIndex(d->thumbBar->currentIndex()); = // Disable menu actions and SideBar if no current image. = @@ -1307,7 +1307,7 @@ void ShowFoto::slotAddedDropedItems(QDropEvent* e) { QFileInfo fi(url.path()); = - if (fi.isFile() && fi.exists()) + if (fi.exists()) { urls.append(KUrl(url)); }