From kde-commits Mon Mar 31 23:27:06 2003 From: Luis De la Parra Blum Date: Mon, 31 Mar 2003 23:27:06 +0000 To: kde-commits Subject: kdesdk/umbrello/umbrello X-MARC-Message: https://marc.info/?l=kde-commits&m=104915330209866 CVS commit by luis: FIXME-- for some reason the refactoringassistant is not linked into the main app unless make thinks it is used in the main binary... for now the refactoringassistant is called from the classwidget (test only), this should be changed, and the one calling it should be the document or the main app, but till that's that way we need the lib linked. M +10 -0 uml.cpp 1.29 --- kdesdk/umbrello/umbrello/uml.cpp #1.28:1.29 @@ -47,4 +47,7 @@ #include +#include "refactoring/refactoringassistant.h" + + using Umbrello::Diagram; @@ -103,4 +106,11 @@ UMLApp::UMLApp(QWidget* , const char* na connect(zoomSelect,SIGNAL(aboutToShow()),this,SLOT(setupZoomMenu())); connect(zoomSelect,SIGNAL(activated(int)),this,SLOT(setZoom(int))); + + //FIXME + // for some reason the build system will not link the refactoring into the app unless it + // detects its needed. Adding this for now + Umbrello::RefactoringAssistant *r = new Umbrello::RefactoringAssistant( doc ); + delete r; + //FIXME } ////////////////////////////////////////////////////////////////////////////////////////////////////