From 8047b6ef48deb303c48e24bf4ad65aace50df701 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 5 Sep 2024 17:15:06 +0300 Subject: [PATCH] rename argument --- src/app/browser/main/tab/page.cpp | 4 ++-- src/app/browser/main/tab/page.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/browser/main/tab/page.cpp b/src/app/browser/main/tab/page.cpp index 02438d80..393c3099 100644 --- a/src/app/browser/main/tab/page.cpp +++ b/src/app/browser/main/tab/page.cpp @@ -75,10 +75,10 @@ void Page::refresh( } void Page::navigation_update( - const bool & HISTORY + const bool & ADD_HISTORY ) { // Update navigation history - if (HISTORY) + if (ADD_HISTORY) { pageNavigation->history_add( pageNavigation->get_request_text() diff --git a/src/app/browser/main/tab/page.hpp b/src/app/browser/main/tab/page.hpp index 5bb71b63..a6a56f49 100644 --- a/src/app/browser/main/tab/page.hpp +++ b/src/app/browser/main/tab/page.hpp @@ -60,7 +60,7 @@ namespace app::browser::main::tab ); void navigation_update( - const bool & HISTORY = false + const bool & ADD_HISTORY = false ); bool navigation_history_try_back();