diff --git a/core/pagetransition.cpp b/core/pagetransition.cpp index ed646a059..d57106dda 100644 --- a/core/pagetransition.cpp +++ b/core/pagetransition.cpp @@ -43,9 +43,8 @@ PageTransition::PageTransition( Type type ) } PageTransition::PageTransition( const PageTransition &other ) - : d( new Private( Replace ) ) + : d( new Private( *other.d ) ) { - *d = *other.d; } PageTransition& PageTransition::operator=( const PageTransition &other )