src/gui/s60framework/qs60mainappui.cpp
changeset 23 89e065397ea6
parent 19 fcece45ef507
child 13 cc75c76972ee
child 29 b72c6db6890b
--- a/src/gui/s60framework/qs60mainappui.cpp	Fri May 14 16:40:13 2010 +0300
+++ b/src/gui/s60framework/qs60mainappui.cpp	Thu May 27 13:40:48 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);
-    }
 }
 
 /*!