[Uml-devel] branches/work/soc-umbrello/umbrello
Gopala Krishna A
krishna.ggk at gmail.com
Wed Aug 27 16:47:38 UTC 2008
SVN commit 853388 by gopala:
Fix some invalid QObject::connect statements.
M +2 -2 uml.cpp
M +1 -1 umldoc.cpp
--- branches/work/soc-umbrello/umbrello/uml.cpp #853387:853388
@@ -1914,9 +1914,9 @@
{
UMLView *view = getCurrentView();
if (view) {
- connect(view, SIGNAL( sigShowGridToggled(bool) ),
+ connect(view->umlScene(), SIGNAL( sigShowGridToggled(bool) ),
this, SLOT( slotShowGridToggled(bool) ) );
- connect(view, SIGNAL( sigSnapToGridToggled(bool) ),
+ connect(view->umlScene(), SIGNAL( sigSnapToGridToggled(bool) ),
this, SLOT( slotSnapToGridToggled(bool) ) );
}
}
--- branches/work/soc-umbrello/umbrello/umldoc.cpp #853387:853388
@@ -152,7 +152,7 @@
UMLApp * pApp = UMLApp::app();
if ( pApp->getListView() )
- connect(this, SIGNAL(sigObjectRemoved(UMLObject *)), view, SLOT(slotObjectRemoved(UMLObject *)));
+ connect(this, SIGNAL(sigObjectRemoved(UMLObject *)), view->umlScene(), SLOT(slotObjectRemoved(UMLObject *)));
pApp->setCurrentView(view);
if ( !m_bLoading ) {
More information about the umbrello-devel
mailing list