[mythtv] [patch] osdlistbtntype m_itemList pos corruption.
Kenneth Aafløy
ke-aa at frisurf.no
Mon Jun 14 10:44:11 EDT 2004
On Monday 14 June 2004 16:24, David Engel wrote:
> On Mon, Jun 14, 2004 at 07:11:52AM +0200, Kenneth Aafl?y wrote:
> > +class CleanLock
> > +{
> > + public:
> > + CleanLock(QMutex *mutex): m_mutex(mutex) { m_mutex->lock(); }
> > + ~CleanLock() { m_mutex->unlock(); };
> > + private:
> > + QMutex *m_mutex;
> > +};
>
> Why didn't you use QMutexLocker?
Very good question, didn't know it was there :)
Thanks for letting me know..attached a new patch.
Kenneth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osdlistbtn.patch
Type: text/x-diff
Size: 3138 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040614/bb75a8f6/osdlistbtn.bin
More information about the mythtv-dev
mailing list