Browse Source

rename argument

CPP-GTK4
yggverse 3 months ago
parent
commit
8047b6ef48
  1. 4
      src/app/browser/main/tab/page.cpp
  2. 2
      src/app/browser/main/tab/page.hpp

4
src/app/browser/main/tab/page.cpp

@ -75,10 +75,10 @@ void Page::refresh(
} }
void Page::navigation_update( void Page::navigation_update(
const bool & HISTORY const bool & ADD_HISTORY
) { ) {
// Update navigation history // Update navigation history
if (HISTORY) if (ADD_HISTORY)
{ {
pageNavigation->history_add( pageNavigation->history_add(
pageNavigation->get_request_text() pageNavigation->get_request_text()

2
src/app/browser/main/tab/page.hpp

@ -60,7 +60,7 @@ namespace app::browser::main::tab
); );
void navigation_update( void navigation_update(
const bool & HISTORY = false const bool & ADD_HISTORY = false
); );
bool navigation_history_try_back(); bool navigation_history_try_back();

Loading…
Cancel
Save