summaryrefslogtreecommitdiff
path: root/src/yuzu/applets/qt_profile_select.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-06 11:26:53 -0500
committerGitHub <noreply@github.com>2022-12-06 11:26:53 -0500
commitd8534ea140a0e07fa010fe58fae068ed926c1dbc (patch)
tree176afc9e7d481b7b48f5a61a21b5184bf33cef62 /src/yuzu/applets/qt_profile_select.h
parentbbdb6d391e76845a9f2db57d05b2d0a85eeeba4e (diff)
parentfedd857054fb33521ee8e887a88d54cfc69c71fd (diff)
Merge pull request #9390 from lioncash/keyboard
applets: Extract callback types into aliases
Diffstat (limited to 'src/yuzu/applets/qt_profile_select.h')
-rw-r--r--src/yuzu/applets/qt_profile_select.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/applets/qt_profile_select.h b/src/yuzu/applets/qt_profile_select.h
index 124f2cdbd..637a3bda2 100644
--- a/src/yuzu/applets/qt_profile_select.h
+++ b/src/yuzu/applets/qt_profile_select.h
@@ -65,7 +65,7 @@ public:
explicit QtProfileSelector(GMainWindow& parent);
~QtProfileSelector() override;
- void SelectProfile(std::function<void(std::optional<Common::UUID>)> callback_) const override;
+ void SelectProfile(SelectProfileCallback callback_) const override;
signals:
void MainWindowSelectProfile() const;
@@ -73,5 +73,5 @@ signals:
private:
void MainWindowFinishedSelection(std::optional<Common::UUID> uuid);
- mutable std::function<void(std::optional<Common::UUID>)> callback;
+ mutable SelectProfileCallback callback;
};