projects
/
apps
/
osp
/
Gallery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For NSE_45763
[apps/osp/Gallery.git]
/
src
/
GlAlbumListPresentationModel.cpp
diff --git
a/src/GlAlbumListPresentationModel.cpp
b/src/GlAlbumListPresentationModel.cpp
index
8a02e3c
..
7e8b035
100644
(file)
--- a/
src/GlAlbumListPresentationModel.cpp
+++ b/
src/GlAlbumListPresentationModel.cpp
@@
-731,6
+731,7
@@
AlbumListPresentationModel::InitializeAlbumInfoList(const ContentType& contentTy
if (pAlbumInfo != null && pAlbumInfo->GetContentIdCount() > 0)
{
__pAlbumInfoList->Add(pAlbumInfo);
if (pAlbumInfo != null && pAlbumInfo->GetContentIdCount() > 0)
{
__pAlbumInfoList->Add(pAlbumInfo);
+ AppLog("Adding album");
}
else
{
}
else
{
@@
-743,7
+744,7
@@
AlbumListPresentationModel::InitializeAlbumInfoList(const ContentType& contentTy
int insertIndex = 0;
if (pAllAlbumInfo->GetContentIdCount() > 0)
{
int insertIndex = 0;
if (pAllAlbumInfo->GetContentIdCount() > 0)
{
- __pAlbumInfoList->InsertAt((Object&)*pAllAlbumInfo,
++insertIndex
);
+ __pAlbumInfoList->InsertAt((Object&)*pAllAlbumInfo,
insertIndex++
);
}
else
{
}
else
{
@@
-752,7
+753,7
@@
AlbumListPresentationModel::InitializeAlbumInfoList(const ContentType& contentTy
if (pCameraAlbumInfo->GetContentIdCount() > 0)
{
if (pCameraAlbumInfo->GetContentIdCount() > 0)
{
- __pAlbumInfoList->InsertAt((Object&)*pCameraAlbumInfo,
++insertIndex
);
+ __pAlbumInfoList->InsertAt((Object&)*pCameraAlbumInfo,
insertIndex++
);
}
else
{
}
else
{
@@
-761,7
+762,7
@@
AlbumListPresentationModel::InitializeAlbumInfoList(const ContentType& contentTy
if (pDownloadAlbumInfo->GetContentIdCount() > 0)
{
if (pDownloadAlbumInfo->GetContentIdCount() > 0)
{
- __pAlbumInfoList->InsertAt((Object&)*pDownloadAlbumInfo,
++insertIndex
);
+ __pAlbumInfoList->InsertAt((Object&)*pDownloadAlbumInfo,
insertIndex++
);
}
else
{
}
else
{
@@
-770,7
+771,7
@@
AlbumListPresentationModel::InitializeAlbumInfoList(const ContentType& contentTy
if (pNoNameAlbumInfo->GetContentIdCount() > 0)
{
if (pNoNameAlbumInfo->GetContentIdCount() > 0)
{
- __pAlbumInfoList->InsertAt((Object&)*pNoNameAlbumInfo,
++insertIndex
);
+ __pAlbumInfoList->InsertAt((Object&)*pNoNameAlbumInfo,
insertIndex++
);
}
else
{
}
else
{