[PATCH] Make a map ctrl-click toggle the selection state
Dirk Hohndel
dirk at hohndel.org
Fri Jun 7 22:07:30 PDT 2013
On Fri, 2013-06-07 at 22:01 -0700, Thiago Macieira wrote:
> On sexta-feira, 7 de junho de 2013 21.39.34, Dirk Hohndel wrote:
> > qt-ui/divelistview.cpp: In member function ‘void
> > DiveListView::selectDive(dive*, bool, bool)’:
> > qt-ui/divelistview.cpp:60:70: error: no match for ‘operator=’ in ‘flags
> > = (toggle ? (QItemSelectionModel::SelectionFlag)8u :
> > (QItemSelectionModel::SelectionFlag)2u)’
>
> I don't see how that could be. If one type is a typedef for the other,
> there should be no difference in the compilation...
>
> If I simply replace one type with the other, it compiles here.
I clearly didn't do this the same way as you did.
Thanks. Pushed.
/D
More information about the subsurface
mailing list