Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GUI2/Dispatcher: changed dispatcher signals to take a widget referenc…
…e as a first parameter This fixes an issue where functions taking `widget` as a parameter couldn't be bound to a signal function with the first argument passed via placeholder since `std::bind` requires arguments match exactly when using the placeholders. The dispatcher's `this` was cast to `widget` before the signal functions were fired anyway, so this doesn't really constitute any functional change.
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters