[Nepomuk] Review Request: Set the main type as the type highest in the hierarachy
Sebastian Trueg
sebastian at trueg.de
Fri Jun 15 14:57:09 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105265/#review14763
-----------------------------------------------------------
nepomuk/core/resourcedata.cpp
<http://git.reviewboard.kde.org/r/105265/#comment11645>
"Note" is a sub class of "HTMLDoc". We want to use "Note" if "HTMLDoc" is our current type. Thus, the test is: if the storedtype (Note) isSubClassOf the current type (HTMLDoc) -> use the stored type.
- Sebastian Trueg
On June 15, 2012, 11:34 a.m., Vishesh Handa wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105265/
> -----------------------------------------------------------
>
> (Updated June 15, 2012, 11:34 a.m.)
>
>
> Review request for Nepomuk and Sebastian Trueg.
>
>
> Description
> -------
>
> It makes more sense show "Note" instead of "HTML Document".
>
>
> Diffs
> -----
>
> nepomuk/core/resourcedata.cpp 4e8554d
>
> Diff: http://git.reviewboard.kde.org/r/105265/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Vishesh Handa
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120615/a2df0f98/attachment.html>
More information about the Nepomuk
mailing list