diff -r 7333d7932ef7 -r 8b7f4e561641 appinstaller/AppinstUi/Plugin/SisxUI/Src/SisxUIHandler.cpp --- a/appinstaller/AppinstUi/Plugin/SisxUI/Src/SisxUIHandler.cpp Tue Aug 31 15:21:33 2010 +0300 +++ b/appinstaller/AppinstUi/Plugin/SisxUI/Src/SisxUIHandler.cpp Wed Sep 01 12:22:02 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002-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" @@ -28,7 +28,7 @@ #include #include #include -//#include +#include #include #include #include //for the marquee effect @@ -478,7 +478,9 @@ // than the currently installed old version (i.e. when downgrading). See // also User::QueryVersionSupported() although it has bit different meaning. TBool downgrading = ( newVersion.iMajor < oldVersion.iMajor || - ( newVersion.iMajor == oldVersion.iMajor && newVersion.iMinor < oldVersion.iMinor ) ); + ( newVersion.iMajor == oldVersion.iMajor && newVersion.iMinor < oldVersion.iMinor ) || + ( newVersion.iMajor == oldVersion.iMajor && newVersion.iMinor == oldVersion.iMinor && + newVersion.iBuild < oldVersion.iBuild ) ); if( !downgrading ) { iShowingDialog = EFalse; @@ -1837,9 +1839,9 @@ // TInt CSisxUIHandler::ShowCapabilitiesHelp( TAny* aPtr ) { - //TRAP_IGNORE( - // reinterpret_cast(aPtr)->iCommonDialogs->LaunchHelpL( KAM_HLP_INSTALL_CAPAB ) - // ); + TRAP_IGNORE( + reinterpret_cast(aPtr)->iCommonDialogs->LaunchHelpL( KAM_HLP_INSTALL_CAPAB ) + ); return KErrNone; }