Skip to content

Commit

Permalink
Revert clang-tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaelers committed Nov 26, 2023
1 parent db7f6d0 commit 382c390
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/app/Application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ Application::get_timers_tooltip()

for (int count = 0; count < BREAK_ID_SIZEOF; count++)
{
auto *b = core->get_break(BreakId(count));
auto b = core->get_break(BreakId(count));
bool on = b->is_enabled();

if (b != nullptr && on)
Expand Down Expand Up @@ -647,7 +647,7 @@ Application::on_idle_changed(bool new_idle)
if (new_idle && !is_idle)
{
TRACE_MSG("Now idle");
auto *rest_break = core->get_break(BREAK_ID_REST_BREAK);
auto rest_break = core->get_break(BREAK_ID_REST_BREAK);

taking = rest_break->is_taking();
TRACE_MSG("taking {}", taking);
Expand All @@ -665,7 +665,7 @@ Application::on_idle_changed(bool new_idle)
{
TRACE_MSG("Automatic natural break enabled");

auto *rest_break = core->get_break(BREAK_ID_REST_BREAK);
auto rest_break = core->get_break(BREAK_ID_REST_BREAK);

if (core->get_regular_operation_mode() == OperationMode::Normal
&& rest_break->get_elapsed_idle_time() < rest_break->get_auto_reset() && rest_break->is_enabled()
Expand Down

0 comments on commit 382c390

Please sign in to comment.