[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sun Feb 13 21:10:34 UTC 2005


CVS commit by okellogg: 

readOptionState(tabdiagrams): Set default adequate to KDE version.


  M +7 -1      uml.cpp   1.138


--- kdesdk/umbrello/umbrello/uml.cpp  #1.137:1.138
@@ -1081,5 +1081,11 @@ void UMLApp::readOptionState() {
         m_config -> setGroup( "General Options" );
         m_optionState.generalState.undo = m_config -> readBoolEntry( "undo", true );
-        m_optionState.generalState.tabdiagrams = m_config -> readBoolEntry( "tabdiagrams", true );
+        m_optionState.generalState.tabdiagrams = m_config -> readBoolEntry( "tabdiagrams",
+#if KDE_IS_VERSION(3,1,90)
+                                                                                true
+#else
+                                                                                false
+#endif
+                                                                          );
         m_optionState.generalState.newcodegen = m_config -> readBoolEntry( "newcodegen", true );
         m_optionState.generalState.autosave = m_config -> readBoolEntry( "autosave", true );






More information about the umbrello-devel mailing list