diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-05-05 14:07:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 14:07:10 -0700 |
commit | b266068644d2caab4f103b0adf7a491b95f52369 (patch) | |
tree | 8de677072a75350959e3db64d86105a951f231f4 /launcher/ui/dialogs | |
parent | 733619ca741336ba9999af43f4eddd9371462325 (diff) | |
download | PrismLauncher-b266068644d2caab4f103b0adf7a491b95f52369.tar.gz PrismLauncher-b266068644d2caab4f103b0adf7a491b95f52369.tar.bz2 PrismLauncher-b266068644d2caab4f103b0adf7a491b95f52369.zip |
Apply suggestions from code review
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r-- | launcher/ui/dialogs/ProgressDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ProgressDialog.cpp b/launcher/ui/dialogs/ProgressDialog.cpp index 94feee44..246a0fd4 100644 --- a/launcher/ui/dialogs/ProgressDialog.cpp +++ b/launcher/ui/dialogs/ProgressDialog.cpp @@ -45,7 +45,7 @@ #include "ui/widgets/SubTaskProgressBar.h" -// map a value in a numaric range of an arbatray type to between 0 and INT_MAX +// map a value in a numeric range of an arbitrary type to between 0 and INT_MAX // for getting the best precision out of the qt progress bar template<typename T, std::enable_if_t<std::is_arithmetic_v<T>, bool> = true> std::tuple<int, int> map_int_zero_max(T current, T range_max, T range_min) |