trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2018

Re: Re: help with tqt dbus

From: deloptes <deloptes@...>
Date: Thu, 31 May 2018 14:54:01 +0200
Hi
 
> 
> I will try to take a look at this during the weekend and give some
> feedback. Cheers
>   Michele

Please, have a look at this - why it fails here

        TQValueList<TQT_DBusData> list = data.toTQValueList(&ok);

is it only on my system or you see the same?
is it me making a mistake or it is a bug?

when I remove the condition it works though I wouldn't expected if it fails
to has any data in the list.
        TQValueList<TQT_DBusData> list = data.toTQValueList(&ok);
        if (!ok) kdDebug() << "toTQValueList failed" << endl;
        else kdDebug() << "toTQValueList worked" << endl;
//      if (!ok) return -1;ok = false;

thanks in advance
regards

Attachments: