[KPhotoAlbum] A couple of minor patches

Robert Krawitz rlk at speakeasy.net
Fri Aug 31 03:42:49 BST 2012


This fixes a couple of compile issues.  The first is a warning I'm
getting with KDE 4.9; the second is an error I'm getting with the upload
widget.

diff --git a/DB/GpsCoordinates.h b/DB/GpsCoordinates.h
index 0e39b1f..1a3fd62 100644
--- a/DB/GpsCoordinates.h
+++ b/DB/GpsCoordinates.h
@@ -22,7 +22,7 @@
 #include "config-kpa-marble.h"
 #ifdef HAVE_MARBLE
   #include <marble/GeoDataCoordinates.h>
-  #include <marble/global.h>
+  #include <marble/MarbleGlobal.h>
 #endif
 
 #ifdef HAVE_MARBLE
diff --git a/Plugins/UploadWidget.h b/Plugins/UploadWidget.h
index 64ae72a..f87b18f 100644
--- a/Plugins/UploadWidget.h
+++ b/Plugins/UploadWidget.h
@@ -20,6 +20,7 @@
 #ifndef PLUGINS_UPLOADWIDGET_H
 #define PLUGINS_UPLOADWIDGET_H
 
+#include <libkipi/imagecollection.h>
 #include <libkipi/uploadwidget.h>
 class QFileSystemModel;
 class QModelIndex;

-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

MIT VI-3 1987 - Congratulations MIT Engineers men's hoops Final Four!
Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



More information about the Kphotoalbum mailing list