summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoBackendBase.cpp
diff options
context:
space:
mode:
authorNiel Lebeck <niel.lebeck@gmail.com>2025-02-02 11:58:45 -0800
committerNiel Lebeck <niel.lebeck@gmail.com>2025-02-02 12:24:51 -0800
commit56fd1f39d82d13cbfecd8b75937dd93bb8205e2f (patch)
treee7f7c33c816bba7867a03309668d8b1a211c3806 /Source/Core/VideoCommon/VideoBackendBase.cpp
parent84d28a4272f53df30550b43aaafafde1a520aeb0 (diff)
Eliminate TaskViewModel's mustRestartApp field
Instead of having UserDataImportWarningDialog set an `onResultDismiss` callback that examines `mustRestartApp`, and having UserDataActivity set `mustRestartApp`, just have UserDataActivity set the callback directly. This approach is no more data-race-y than the previous approach, and it simplifies the code. (The behavior of restarting the app when the task finishes is specific to the user data import flow, and there is no reason for TaskViewModel to be directly aware of it.)
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
0 files changed, 0 insertions, 0 deletions