[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon Jul 12 14:20:01 UTC 2004


CVS commit by okellogg: 

Be compatible with KDE 3.1.


  M +7 -1      aligntoolbar.cpp   1.4


--- kdesdk/umbrello/umbrello/aligntoolbar.cpp  #1.3:1.4
@@ -247,5 +247,11 @@ void AlignToolBar::slotButtonChanged(int
                 UMLApp::app()->getDocument()->setModified();
         } else {
-                KMessageBox::messageBox(0, KMessageBox::Information, i18n("For alignment you have to select at least 2 objects like classes or actors. You can not align associations."), i18n("Information"), i18n("&Ok"), QString(""), "showAlignInformation");
+                KMessageBox::messageBox(0, KMessageBox::Information,
+                        i18n("For alignment you have to select at least 2 objects like classes or actors. You can not align associations."),
+                        i18n("Information"), i18n("&Ok"), QString("")
+#if KDE_IS_VERSION(3,2,0)
+                        , "showAlignInformation"
+#endif
+                        );
         } // if (widgetList.count() > 1)
 






More information about the umbrello-devel mailing list