[Uml-devel] [Bug 84739] umbrello design bug in advanced code generators

Oliver Kellogg okellogg at users.sourceforge.net
Sun Jul 16 13:24:09 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=84739         




------- Additional Comments From okellogg users sourceforge net  2006-07-16 15:24 -------
SVN commit 563016 by okellogg:

Disabling newcodegen for the time being to avoid a slew of
redundant bug reports. Notes to assignee of #84739:
1) To work on the bug, #define the symbol BUG84739_FIXED.
2) Make sure all PRs marked duplicate of #84739 pass.
CCBUG:84739


 M  +3 -0      dialogs/settingsdlg.cpp  
 M  +4 -0      uml.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/dialogs/settingsdlg.cpp #563015:563016
 @ -115,6 +115,9  @
 
     m_GeneralWidgets.newcodegenCB = new QCheckBox( i18n("Use new C++/Java/Ruby generators"), m_GeneralWidgets.miscGB );
     m_GeneralWidgets.newcodegenCB -> setChecked( m_pOptionState->generalState.newcodegen );
+#ifndef BUG84739_FIXED
+    m_GeneralWidgets.newcodegenCB->setEnabled(false);
+#endif
     miscLayout -> addWidget( m_GeneralWidgets.newcodegenCB, 1, 0 );
 
     m_GeneralWidgets.angularLinesCB = new QCheckBox( i18n("Use angular association lines"), m_GeneralWidgets.miscGB );
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/uml.cpp #563015:563016
 @ -1077,7 +1077,11  @
             false
 #endif
                                                                       );
+#if defined (BUG84739_FIXED)
     m_optionState.generalState.newcodegen = m_config -> readBoolEntry("newcodegen", false);
+#else
+    m_optionState.generalState.newcodegen = false;
+#endif
     m_optionState.generalState.angularlines = m_config->readBoolEntry("angularlines", false);
     m_optionState.generalState.autosave = m_config -> readBoolEntry( "autosave", true );
     m_optionState.generalState.time = m_config -> readNumEntry( "time", 0 ); //old autosavetime value kept for compatibility




More information about the umbrello-devel mailing list