summaryrefslogtreecommitdiff
path: root/src/yuzu/applets/qt_profile_select.cpp
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.cpp
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.cpp')
-rw-r--r--src/yuzu/applets/qt_profile_select.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/applets/qt_profile_select.cpp b/src/yuzu/applets/qt_profile_select.cpp
index c8bcfb223..4145c5299 100644
--- a/src/yuzu/applets/qt_profile_select.cpp
+++ b/src/yuzu/applets/qt_profile_select.cpp
@@ -163,8 +163,7 @@ QtProfileSelector::QtProfileSelector(GMainWindow& parent) {
QtProfileSelector::~QtProfileSelector() = default;
-void QtProfileSelector::SelectProfile(
- std::function<void(std::optional<Common::UUID>)> callback_) const {
+void QtProfileSelector::SelectProfile(SelectProfileCallback callback_) const {
callback = std::move(callback_);
emit MainWindowSelectProfile();
}