startupservices/SplashScreen/src/SplashScreen.cpp
changeset 1 a4d95d2c2540
parent 0 2e3d3ce01487
child 22 c82a39b81a38
child 43 2fee514510e5
--- a/startupservices/SplashScreen/src/SplashScreen.cpp	Tue Feb 02 10:12:00 2010 +0200
+++ b/startupservices/SplashScreen/src/SplashScreen.cpp	Mon Feb 08 13:38:38 2010 +0000
@@ -361,7 +361,11 @@
     if ( !err )
         {
         TRACES("CMainWindow::ConstructL(): Image found");
+#ifdef USE_SF_SPLASH_ENUM
+        iBitmap = AknIconUtils::CreateIconL( fp->FullName(), EMbmSplashscreenSf_startup_screen );
+#else
         iBitmap = AknIconUtils::CreateIconL( fp->FullName(), EMbmSplashscreenQgn_startup_screen );
+#endif
         AknIconUtils::ExcludeFromCache(iBitmap);
         AknIconUtils::SetSize( iBitmap, iRect.Size(), EAspectRatioPreservedAndUnusedSpaceRemoved );
         }