[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    Re: [Cvslog] r25374 -
From:       Andre Poenitz <andre.poenitz () mathematik ! tu-chemnitz ! de>
Date:       2008-06-24 18:51:54
Message-ID: 20080624185154.GA5349 () tu-chemnitz ! de
[Download RAW message or body]

On Tue, Jun 24, 2008 at 09:52:45AM -0000, lasgouttes@lyx.org wrote:
> Author: lasgouttes
> Date: Tue Jun 24 11:52:43 2008
> New Revision: 25374
> 
> URL: http://www.lyx.org/trac/changeset/25374
> Log:
> suppress warning
> 
> Modified:
>     lyx-devel/trunk/src/frontends/qt4/GuiToolbar.cpp
> 
> Modified: lyx-devel/trunk/src/frontends/qt4/GuiToolbar.cpp
> URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/frontends/qt4/GuiToolbar.cpp?rev=25374
> ==============================================================================
> --- lyx-devel/trunk/src/frontends/qt4/GuiToolbar.cpp (original)
> +++ lyx-devel/trunk/src/frontends/qt4/GuiToolbar.cpp Tue Jun 24 11:52:43 2008
> @@ -493,6 +493,8 @@
>  	bool small = size.height() < 20;
>  	setAttribute(Qt::WA_MacSmallSize, small);
>  	setAttribute(Qt::WA_MacNormalSize, !small);
> +#else
> +	(void)size; // suppress warning

Q_UNUSED(size)   should be legal in frontends/qt4

Andre'
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic