D8688: Create annotation color from revision hash, not RNG number

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Tue Nov 7 00:45:19 UTC 2017


kossebau updated this revision to Diff 22013.
kossebau added a comment.


  - do qHash directly on VcsRevision::RevisionSpecialType enum value instead of
  
  string
  
  - also do qHash for revisionValue.toULongLong(), now that I found one needs to
  
  explicitly use ::qHash to avoid the compiler trying to cast qHash(int-like)
  to qHash(const KDevelop::VcsRevision& rev)

REPOSITORY
  R32 KDevelop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D8688?vs=22010&id=22013

BRANCH
  reproducableannotationcolor

REVISION DETAIL
  https://phabricator.kde.org/D8688

AFFECTED FILES
  kdevplatform/vcs/models/vcsannotationmodel.cpp
  kdevplatform/vcs/vcsrevision.cpp

To: kossebau, #kdevelop, brauch
Cc: brauch, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171107/3f026e40/attachment.html>


More information about the KDevelop-devel mailing list