@copilot apply changes based on [this feedback](https://github.com/d-morrison/qwt/pull/45#discussion_r3179498367)
@copilot apply changes based on this feedback