[Uml-devel] branches/work/isi-umbrello/umbrello/umbrello

Kevin Ottens ervin at kde.org
Tue Feb 13 09:55:18 UTC 2007


Le mardi 13 février 2007 08:52, Thibault Normand a écrit :
> SVN commit 633100 by tnormand:
>
> + Adding macro management for U/R Stack
>
>  M  +13 -0     uml.cpp
>  M  +15 -0     uml.h
>
>
> --- branches/work/isi-umbrello/umbrello/umbrello/uml.cpp #633099:633100
> @@ -119,6 +119,7 @@
>      m_doc = new UMLDoc();
>      m_doc->init();
>      m_pUndoStack = new KUndoStack(this);
> +    m_hasBeginMacro = false;
> [...]
> +void UMLApp::BeginMacro( const QString & text ) {
> +	if(m_hasBegunMacro)
> +		return;
> [...]
> +    /**
> +     * Macro creation flag
> +    */
> +    bool m_hasBegunMacro;
> +
>  [...]

I think it would build better if you don't mess up with variable names. :-)
(m_hasBegunMacro vs m_hasBeginMacro)

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20070213/a9f1d47f/attachment.sig>


More information about the umbrello-devel mailing list