summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2010-08-04 12:57:06 +1000
committerAndrew den Exter <andrew.den-exter@nokia.com>2010-08-04 12:57:06 +1000
commit4e4ec47b2313d640be32a9f9bc1f7c4d9440094c (patch)
tree9a1be40e813869f3abc18350d8115432b5c02a8a
parenteef0374ad820c1da896919964121d066a2afb350 (diff)
Remove the photoAlbum property definition from QDocumentGallery.
This doesn't resolve to any known construct.
-rw-r--r--src/gallery/maemo5/qgallerytrackerschema.cpp2
-rw-r--r--src/gallery/qdocumentgallery.cpp7
-rw-r--r--src/gallery/qdocumentgallery.h1
3 files changed, 1 insertions, 9 deletions
diff --git a/src/gallery/maemo5/qgallerytrackerschema.cpp b/src/gallery/maemo5/qgallerytrackerschema.cpp
index f18b6aca11..59411ee980 100644
--- a/src/gallery/maemo5/qgallerytrackerschema.cpp
+++ b/src/gallery/maemo5/qgallerytrackerschema.cpp
@@ -840,7 +840,7 @@ static const QGalleryItemProperty qt_galleryImagePropertyList[] =
QT_GALLERY_ITEM_PROPERTY("keywords" , "Image:Keywords" , StringList, CanRead | CanWrite | CanSort | CanFilter),
QT_GALLERY_ITEM_PROPERTY("height" , "Image:Height" , Int , CanRead | CanSort | CanFilter | IsResource),
QT_GALLERY_ITEM_PROPERTY("width" , "Image:Width" , Int , CanRead | CanSort | CanFilter | IsResource),
- QT_GALLERY_ITEM_PROPERTY("album" , "Image:Album" , String , CanRead | CanWrite | CanSort | CanFilter),
+ //QT_GALLERY_ITEM_PROPERTY("" , "Image:Album" , String , CanRead | CanWrite | CanSort | CanFilter),
QT_GALLERY_ITEM_PROPERTY("dateTaken" , "Image:Date" , DateTime , CanRead | CanWrite | CanSort | CanFilter),
QT_GALLERY_ITEM_PROPERTY("author" , "Image:Creator" , String , CanRead | CanWrite | CanSort | CanFilter),
QT_GALLERY_ITEM_PROPERTY("comment" , "Image:Comments" , String , CanRead | CanWrite | CanSort | CanFilter),
diff --git a/src/gallery/qdocumentgallery.cpp b/src/gallery/qdocumentgallery.cpp
index 4f1d1cfd2d..13bd2b319e 100644
--- a/src/gallery/qdocumentgallery.cpp
+++ b/src/gallery/qdocumentgallery.cpp
@@ -513,13 +513,6 @@ const QGalleryProperty QDocumentGallery::height("height");
const QGalleryProperty QDocumentGallery::orientation("orientation");
// Photo
-/*!
- \variable QDocumentGallery::photoAlbum
-
- This property contains the name of the album a photo belongs to.
-*/
-
-const QGalleryProperty QDocumentGallery::photoAlbum("photoAlbum");
/*!
\variable QDocumentGallery::dateTaken
diff --git a/src/gallery/qdocumentgallery.h b/src/gallery/qdocumentgallery.h
index e08f31167e..c2e77f8bcd 100644
--- a/src/gallery/qdocumentgallery.h
+++ b/src/gallery/qdocumentgallery.h
@@ -127,7 +127,6 @@ public:
static const QGalleryProperty orientation;
// Photo
- static const QGalleryProperty photoAlbum;
static const QGalleryProperty dateTaken;
static const QGalleryProperty cameraManufacturer;
static const QGalleryProperty cameraModel;