latest Qt branch

Dirk Hohndel dirk at hohndel.org
Thu May 16 14:20:11 PDT 2013


On Thu, 2013-05-16 at 15:09 -0600, Thiago Macieira wrote:
> On quinta-feira, 16 de maio de 2013 12.37.43, Dirk Hohndel wrote:
> > Running Subsurface
> > 
> > QCoreApplication::postEvent: Unexpected null receiver
> 
> Trick: run in gdb with QT_FATAL_WARNINGS=1
> 
> Offending line:
> 
> #6  0x0000000000431b20 in DiveListView::reload (this=0x7a8d10) at qt-
> ui/divelistview.cpp:29
> 
> void DiveListView::reload()
> {
>         QSortFilterProxyModel *m = 
> qobject_cast<QSortFilterProxyModel*>(model());
>         QAbstractItemModel *oldModel = m->sourceModel();
>         oldModel->deleteLater();
> 
> (29 is the last line)
> 
> It's missing an if. Patch attached.

Thanks - this fixes the Qt error.

Still, two distinct errors:

- I still get no profile when I first start.

- The highlight on the divelist does not move when I use the cursor keys
(but the profile is correctly updated).

Fedora 17 w/ Qt 4.8.4

/D



More information about the subsurface mailing list