Project

General

Profile

Actions

Bug #8164

closed

Re-implementation of WStandardItem::clone is not possible.

Added by Andreas Frolov about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
03/03/2021
Due date:
% Done:

100%

Estimated time:

Description

Hallo,

The WStandardItem::clone function cannot currently be re-implemented. Either the WStandardItem object is created when I use the basic functionality or the private memeber are not cloned when I don't.

My suggestion(not tested) to fix is attached.


Files

WStandardItem.patch (666 Bytes) WStandardItem.patch Andreas Frolov, 03/03/2021 08:41 AM
Actions #1

Updated by Korneel Dumon about 3 years ago

  • Status changed from New to InProgress

Hi,

this makes sense, we will probably add the protected copy constructor as you suggest.

Actions #2

Updated by Roel Standaert almost 3 years ago

  • Status changed from InProgress to Implemented @Emweb
Actions #3

Updated by Roel Standaert almost 3 years ago

  • Target version set to 4.6.0
Actions #4

Updated by Roel Standaert almost 3 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #5

Updated by Roel Standaert over 2 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Roel Standaert over 2 years ago

  • Status changed from Resolved to Closed
Actions #7

Updated by Andreas Frolov about 2 years ago

Hi,

Copy constructor does not initialize all member variables like other constructors do.

Actions

Also available in: Atom PDF