[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [digikam] showfoto/main: Enabling Dropping Folders in canvas
From:       Mohamed Anwer <mohammed.ahmed.anwer () gmail ! com>
Date:       2014-01-31 22:33:05
Message-ID: E1W9Me1-0006Kk-Ki () scm ! kde ! org
[Download RAW message or body]

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));
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic