[PATCH] Make a map ctrl-click toggle the selection state

Thiago Macieira thiago at macieira.org
Fri Jun 7 22:01:08 PDT 2013


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.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130607/a246f35d/attachment-0001.sig>


More information about the subsurface mailing list