Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
[kcalcore] Build with Qt 5.6. Contributes to JB#35409
Browse files Browse the repository at this point in the history
The Incidence type is an abstract base class which cannot be
instantiated by the new qHash implementation in Qt 5.6

Original author: Martin Jones <martin.jones@jollamobile.com>

Contributes to JB#35409
  • Loading branch information
Chris Adams committed Jun 10, 2016
1 parent da42a31 commit eaccc25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kcalcore/incidence.h
Expand Up @@ -837,7 +837,7 @@ class KCALCORE_EXPORT Incidence
//@cond PRIVATE
inline uint qHash( const QSharedPointer<KCalCore::Incidence> &key )
{
return qHash<KCalCore::Incidence>( key.data() );
return qHash( static_cast<void*>(key.data()) );
}
//@endcond

Expand Down

0 comments on commit eaccc25

Please sign in to comment.