| Summary: | crashes even if a association was drawn | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Olaf Lippmann <software> | 
| Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> | 
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.1 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 4.8.1 | |
| Sentry Crash Report: | |||
| 
        
          Description
        
        
          Olaf Lippmann
        
        
        
        
          2011-04-18 20:51:43 UTC
        
       SVN commit 1280794 by okellogg:
AssocRules cleanup:
- Remove unused function
  static bool allowAssociation(Uml::AssociationType, const std::type_info &)
- At function static bool allowAssociation(Uml::AssociationType,
                                           UMLWidget *, UMLWidget *, bool)
  remove the last argument (extendedCheck), and put "#if 0" at the code
  for extendedCheck due to crashes.
- At struct Assoc_Rule, rename member `directional' to `bidirectional'.
  Add test for `bidirectional' in the allowAssociation functions.
- At definition of m_AssocRules[], 
  - remove lines which are redundant due to `bidirectional' being true.
  - at lines for AssociationType::Containment, set `bidirectional' to
    false.
 M  +66 -49    assocrules.cpp  
 M  +2 -7      assocrules.h  
 M  +5 -5      umlview.cpp  
WebSVN link: http://websvn.kde.org/?view=rev&revision=1280794set version-fixed-in from 4.8.1 changelog |