[Uml-devel] branches/work/soc-umbrello/umbrello
Andi Fischer
andi.fischer at hispeed.ch
Sat Dec 31 14:32:33 UTC 2011
SVN commit 1270980 by fischer:
Fix for updating the documentation in the docwindow. Unnecessary includes removed.
M +2 -8 umldoc.cpp
--- branches/work/soc-umbrello/umbrello/umldoc.cpp #1270979:1270980
@@ -14,7 +14,6 @@
// app includes
#include "debug_utils.h"
#include "uniqueid.h"
-#include "associationwidget.h"
#include "association.h"
#include "package.h"
#include "folder.h"
@@ -27,21 +26,17 @@
#include "attribute.h"
#include "template.h"
#include "enumliteral.h"
-#include "entityattribute.h"
#include "stereotype.h"
#include "classifierlistitem.h"
#include "object_factory.h"
#include "import_rose.h"
#include "model_utils.h"
-#include "widget_utils.h"
#include "uml.h"
#include "umllistview.h"
#include "umllistviewitem.h"
#include "umlview.h"
#include "entityconstraint.h"
#include "idchangelog.h"
-#include "classpropdlg.h"
-#include "codegenfactory.h"
#include "listpopupmenu.h"
#include "cmds.h"
#include "diagramprintpage.h"
@@ -1427,9 +1422,8 @@
pApp->setDiagramMenuItemsState( true );
setModified(true);
emit sigCurrentViewChanged();
-//:TODO: when clicking on a tab, documentation of diagram is not upated in docwindow
-//:TODO: following line should fix it, but crashes the application :-(
-//:TODO: pApp->docWindow()->showDocumentation(view);
+ // when clicking on a tab, the documentation of diagram is upated in docwindow
+ pApp->docWindow()->showDocumentation(view);
}
else {
uWarning() << "New current view was not found with id=" << ID2STR(id) << "!";
More information about the umbrello-devel
mailing list