[Digikam-devel] Re: Fwd: branches/extragear/graphics/digikam/libs/database
Martin Klapetek
martin.klapetek at gmail.com
Fri Nov 19 16:16:57 GMT 2010
Hmm...weird. I specifically used spaces, not tabs, and both kwrite and kate
(+kdevelop) shows it fine and no tab signs (I have them displayed).
Marty
On Fri, Nov 19, 2010 at 17:12, Andi Clemens <andi.clemens at gmx.net> wrote:
> I guess we need to check wether we mix tabs and spaces.
> Because if you look at this specific code example, it still indents the
> second
> if-statement, and so does it in my Eclipse editor. But in VIM it is not
> indented.
> I will do this later this day and convert all tabs to spaces.
>
> Andi
>
>
>
> ---------- Forwarded message ----------
> From: Martin Klapetek <martin.klapetek at gmail.com>
> To: kde-commits at kde.org
> Date: Fri, 19 Nov 2010 17:02:39 +0100 (CET)
> Subject: branches/extragear/graphics/digikam/libs/database
> SVN commit 1198760 by mklapetek:
>
> Code polish
>
> M +2 -0 imageinfo.cpp
>
>
> --- branches/extragear/graphics/digikam/libs/database/imageinfo.cpp
> #1198759:1198760
> @@ -670,8 +670,10 @@
> const QList<qlonglong> &ancestorsAncestors =
> m_nodes.value(p).ancestors;
> int score = 0;
> foreach (qlonglong a, it->ancestors)
> + {
> if (ancestorsAncestors.contains(a))
> score++;
> + }
> if (score > maxScore)
> {
> it->parent = p;
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20101119/370f1bd0/attachment.html>
More information about the Digikam-devel
mailing list