From a55dce80084975fa541a22218730ed4fe974db8b Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 27 Aug 2024 14:22:59 +0300 Subject: [PATCH] enshort const name --- src/app/browser/main/tab.cpp | 4 ++-- src/app/browser/main/tab.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/browser/main/tab.cpp b/src/app/browser/main/tab.cpp index 1afb28ad..32ddf33b 100644 --- a/src/app/browser/main/tab.cpp +++ b/src/app/browser/main/tab.cpp @@ -51,7 +51,7 @@ Glib::ustring Tab::get_label_text( void Tab::append( const Glib::ustring & TITLE, const Glib::ustring & REQUEST, - const bool & TAB_FOCUS + const bool & FOCUS ) { auto tabPage = new tab::Page( TITLE, @@ -70,7 +70,7 @@ void Tab::append( REORDERABLE ); - if (TAB_FOCUS) + if (FOCUS) { set_current_page( page_number diff --git a/src/app/browser/main/tab.hpp b/src/app/browser/main/tab.hpp index e27abaf8..205b53a0 100644 --- a/src/app/browser/main/tab.hpp +++ b/src/app/browser/main/tab.hpp @@ -25,7 +25,7 @@ namespace app::browser::main void append( const Glib::ustring & TITLE, const Glib::ustring & REQUEST = "", - const bool & TAB_FOCUS = true + const bool & FOCUS = true ); void close(