On Fri, Nov 12, 2010 at 7:20 PM, Pavel Sanda <[email protected]> wrote:
> Vincent van Ravesteijn wrote:
>> Anyone against adding this error message ?
>
> ok with me.
>
>> -       if (sm.allowsInteraction() && !closeAllViews())
>> -               sm.cancel();
>> +
>> +       #ifdef QT_NO_SESSIONMANAGER
>> +               #error Qt is compiled without session manager, please
>> recompile Qt
>
> this is the second time you use "(void)". why?
>
> pavel
>

To avoid a warning.

When was the first time then ?

Vincent

Reply via email to