[Kget] Obviously the patch...

FiNeX finex at finex.org
Wed May 7 13:29:59 CEST 2008


Il 7/5/2008 alle 22:19, hai scritto:
> Hey!
> Thanks for your patch... :)

I've fixed it following the hints of Pino :-)

> Am Mittwoch, 7. Mai 2008 12:01:18 schrieb FiNeX:
> > > > +void KGetLinkView::uncheckAll()
> > > > +{
> > > > +    QStandardItemModel *itemsModel = (QStandardItemModel *)
> > > > m_proxyModel->sourceModel();
> > >
> > > this is C++, so static_cast (or qobject_cast, in this case)
> >
> > Should it be something like:
> >
> > QStandardItemModel *itemsModel  = qobject_cast<QStandardItemModel *>
> > (m_proxyModel->sourceModel());
>
> Yup, that's it...
>
> Lukas

Thanks :-)

I'll re-sent later with the fixes.


-- 
by FiNeX
finex (@) finex (.) org
* * *  www.finex.org * * *
Linux Registered User #306523
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kget/attachments/20080507/f71cfa22/attachment.pgp 


More information about the Kget mailing list