summaryrefslogtreecommitdiffstats
path: root/src/yuzu/applets/qt_profile_select.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-06 17:26:53 +0100
committerGitHub <noreply@github.com>2022-12-06 17:26:53 +0100
commitd8534ea140a0e07fa010fe58fae068ed926c1dbc (patch)
tree176afc9e7d481b7b48f5a61a21b5184bf33cef62 /src/yuzu/applets/qt_profile_select.h
parentMerge pull request #9389 from lioncash/emumove (diff)
parentapplets/controller: Use aliases for callbacks (diff)
downloadyuzu-d8534ea140a0e07fa010fe58fae068ed926c1dbc.tar
yuzu-d8534ea140a0e07fa010fe58fae068ed926c1dbc.tar.gz
yuzu-d8534ea140a0e07fa010fe58fae068ed926c1dbc.tar.bz2
yuzu-d8534ea140a0e07fa010fe58fae068ed926c1dbc.tar.lz
yuzu-d8534ea140a0e07fa010fe58fae068ed926c1dbc.tar.xz
yuzu-d8534ea140a0e07fa010fe58fae068ed926c1dbc.tar.zst
yuzu-d8534ea140a0e07fa010fe58fae068ed926c1dbc.zip
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;
};