Project

General

Profile

Actions

Bug #9230

closed
RS RS

QueryModel::setHeaderData is no longer usable with 3 arguments

Bug #9230: QueryModel::setHeaderData is no longer usable with 3 arguments

Added by Roel Standaert almost 5 years ago. Updated over 4 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.

RS Updated by Roel Standaert almost 5 years ago Actions #1

  • Target version set to 4.5.2

RS Updated by Roel Standaert almost 5 years ago Actions #2

  • Status changed from New to InProgress

RS Updated by Roel Standaert almost 5 years ago Actions #3

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

RS Updated by Roel Standaert almost 5 years ago Actions #4

  • Status changed from Review to Resolved
  • Assignee set to Roel Standaert

RS Updated by Roel Standaert almost 5 years ago Actions #5

  • % Done changed from 0 to 100

RS Updated by Roel Standaert over 4 years ago Actions #6

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom