[PATCH] Re: Isues with photos drag-and-drop

Robert C. Helling helling at atdotde.de
Sun Nov 29 13:42:18 PST 2015


Hi,

> On 29 Nov 2015, at 22:07, Dirk Hohndel <dirk at hohndel.org> wrote:
> 
> Wow, interesting whitespace you got there...

oops sorry, this should be better:

I forgot to press save in Creator between fixing spacing and committing.

Which brings me to another point: For some reason,^H^H^H^H^H^H^H^H. No, now I understand, so I document it here for others not to fall in the same trap:

Last time I looked at the subsurface source, I had enabled subsurface-mobile in ccmake. The result was that Qt Creator did not consider the subdirectory desktop-widgets as source code any more. Which a) meant I could not open the file via Control-K but also meant that it did not consider it C++ even though it has a .cpp file extension and thus it does not apply the coding style. It insisted in indenting with four spaces. Then another problem was that I tried so many things to fix this bug but it wouldn’t go away. Actually, the binary always did the same thing and no debugging messages from qDebug() were printed.

So I realised that I should run ccmake again. What I forgot was to run cmake in Creator once more. But then I realised that also for text files, in a different preference screen, I could set indentation to TAB with 8 steps. But then, as I said, I forgot to save.

But this is now amended with tabs instead of spaces.

Sorry for this.

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151129/8b898bb7/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Make-pictures-respond-to-double-clicks-again.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151129/8b898bb7/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151129/8b898bb7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151129/8b898bb7/attachment.sig>


More information about the subsurface mailing list