Apply suggestions from code review

Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-05-05 14:07:10 -07:00
committed by GitHub
parent 733619ca74
commit b266068644
7 changed files with 14 additions and 16 deletions

View File

@ -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)

View File

@ -18,8 +18,6 @@
*/
#pragma once
#include <qobjectdefs.h>
#include <qwidget.h>
#include <QWidget>
#include "QObjectPtr.h"