Project

General

Profile

Actions

Bug #9230

closed

QueryModel::setHeaderData is no longer usable with 3 arguments

Added by Roel Standaert over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
Start date:
10/19/2021
Due date:
% Done:

100%

Estimated time:

Description

using WAbstractTableModel::setHeaderData does cause the 2-argument version to be exposed in QueryModel, but default arguments to virtual functions have to be repeated if we want to use the 3-argument version.

Default arguments on virtual functions are a bad idea in general, and mixing overloading and inheritance can also be a world of pain, but we're stuck with it now.

This regression in Wt 4.5.1 was reported on the blog.

Actions #1

Updated by Roel Standaert over 2 years ago

  • Target version set to 4.5.2
Actions #2

Updated by Roel Standaert over 2 years ago

  • Status changed from New to InProgress
Actions #3

Updated by Roel Standaert over 2 years ago

  • Status changed from InProgress to Review
  • Assignee deleted (Roel Standaert)
Actions #4

Updated by Roel Standaert over 2 years ago

  • Status changed from Review to Resolved
  • Assignee set to Roel Standaert
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

Also available in: Atom PDF