applets: Resolve variable shadowing

This commit is contained in:
Morph 2020-12-05 08:37:13 -05:00
parent fe9823a520
commit 6efd390668
10 changed files with 19 additions and 19 deletions

View file

@ -150,8 +150,8 @@ QtProfileSelector::QtProfileSelector(GMainWindow& parent) {
QtProfileSelector::~QtProfileSelector() = default;
void QtProfileSelector::SelectProfile(
std::function<void(std::optional<Common::UUID>)> callback) const {
this->callback = std::move(callback);
std::function<void(std::optional<Common::UUID>)> callback_) const {
callback = std::move(callback_);
emit MainWindowSelectProfile();
}