Skip to content

Commit

Permalink
Added comment to explain, why virtual is used
Browse files Browse the repository at this point in the history
  • Loading branch information
JoergAtGithub committed Dec 15, 2021
1 parent 61cdf96 commit f229d91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/control/controlobjectscript.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class ControlObjectScript : public ControlProxy {

protected slots:
// Receives the value from the master control by a unique queued connection
// This is specified virtual, to allow gmock to replace it in the test case
virtual void slotValueChanged(double v, QObject*);

private:
Expand Down

0 comments on commit f229d91

Please sign in to comment.