--- a/camerauis/cameraxui/cxengine/tsrc/unit/system_include/thumbnailmanager_qt.cpp Thu Sep 02 20:14:28 2010 +0300
+++ b/camerauis/cameraxui/cxengine/tsrc/unit/system_include/thumbnailmanager_qt.cpp Fri Sep 17 08:27:13 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -54,8 +54,9 @@
int ThumbnailManager::getThumbnail(const QString& filename, void * clientData, int priority)
{
CX_DEBUG_ENTER_FUNCTION();
+ Q_UNUSED(clientData);
Q_UNUSED(priority);
-
+
int id = 0;
if (filename.isNull() || filename.isEmpty()) {
@@ -116,7 +117,7 @@
// get the current thumbnail id
int id = mCurrentThumbnailId - 1;
int status = KErrNone;
-
+
if (id == -1) {
// if there are no valid thumbnails
status = KErrNotFound;