extragear/graphics/digikam/showfoto

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

extragear/graphics/digikam/showfoto

F.J.Cruz
SVN commit 488800 by fjcruz:

Updated load method to adpat it to the new implementation in Canvas and DimgInterface classes.

CCMAIL:[hidden email]

 M  +3 -3      showfoto.cpp  


--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #488799:488800
@@ -873,7 +873,7 @@
 #else
     KIO::NetAccess::download(url, localFile);
 #endif
-    m_isReadOnly = m_canvas->load(localFile);
+    m_isReadOnly = m_canvas->load(localFile, 0, 0);
 
     slotUpdateItemInfo();
     QApplication::restoreOverrideCursor();
@@ -1402,7 +1402,7 @@
         m_rightSidebar->noCurrentItem();
         slotUpdateItemInfo();
         toggleActions(false);
-        m_canvas->load(QString::null);
+        m_canvas->load(QString::null,0 ,0);
         m_currentItem = 0;
         m_isReadOnly = false;
     }
@@ -1492,7 +1492,7 @@
     if (!promptUserSave())
         return;
 
-    m_canvas->load(QString::null);
+    m_canvas->load(QString::null, 0, 0);
     m_bar->clear(true);
     m_rightSidebar->noCurrentItem();
     m_currentItem = 0;
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel