[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Tue Sep 20 21:48:57 UTC 2005


SVN commit 462435 by okellogg:

ToolButton(): Remove excess semicolon.

 M  +3 -3      worktoolbar.h  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/worktoolbar.h #462434:462435
@@ -132,9 +132,9 @@
         QString Label;
         QPixmap Symbol;
         QCursor Cursor;
-        ToolButton() { Label = QString("?"); Symbol = QPixmap(); Cursor = QCursor(); };
+        ToolButton() : Label(QString("?")), Symbol(QPixmap()), Cursor(QCursor()) { }
         ToolButton(const QString& lbl, const QPixmap& smb, const QCursor& cur) :
-        Label(lbl), Symbol(smb), Cursor(cur) { };
+        Label(lbl), Symbol(smb), Cursor(cur) { }
     };
 
     typedef QMap<ToolBar_Buttons, ToolButton> ToolButtonMap;
@@ -142,7 +142,7 @@
     ToolBar_Buttons     m_CurrentButtonID;
     OldToolMap          m_map;
     Uml::Diagram_Type   m_Type;
-    ToolButtonMap               m_ToolButtons;
+    ToolButtonMap       m_ToolButtons;
 
     /**
      * Loads a pixmap from file




More information about the umbrello-devel mailing list