src/gui/s60framework/qs60mainappui.cpp
branchRCL_3
changeset 11 25a739ee40f4
parent 7 3f74d0d4af4c
child 12 cc75c76972ee
--- a/src/gui/s60framework/qs60mainappui.cpp	Wed Apr 21 09:15:16 2010 +0300
+++ b/src/gui/s60framework/qs60mainappui.cpp	Wed Apr 21 11:15:19 2010 +0300
@@ -112,16 +112,10 @@
     // ENoAppResourceFile and ENonStandardResourceFile makes UI to work without
     // resource files in most SDKs. S60 3rd FP1 public seems to require resource file
     // even these flags are defined
-    TInt flags = CAknAppUi::EAknEnableSkin;
-    if (QApplication::testAttribute(Qt::AA_S60DontConstructApplicationPanes)) {
-        flags |= CAknAppUi::ENoScreenFurniture | CAknAppUi::ENonStandardResourceFile;
-    }
+    TInt flags = CAknAppUi::EAknEnableSkin
+                 | CAknAppUi::ENoScreenFurniture
+                 | CAknAppUi::ENonStandardResourceFile;
     BaseConstructL(flags);
-
-    if (!QApplication::testAttribute(Qt::AA_S60DontConstructApplicationPanes)) {
-        CEikButtonGroupContainer* nativeContainer = Cba();
-        nativeContainer->SetCommandSetL(R_AVKON_SOFTKEYS_EMPTY_WITH_IDS);
-    }
 }
 
 /*!