Browse Source

enshort const name

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

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

@ -51,7 +51,7 @@ Glib::ustring Tab::get_label_text(
void Tab::append( void Tab::append(
const Glib::ustring & TITLE, const Glib::ustring & TITLE,
const Glib::ustring & REQUEST, const Glib::ustring & REQUEST,
const bool & TAB_FOCUS const bool & FOCUS
) { ) {
auto tabPage = new tab::Page( auto tabPage = new tab::Page(
TITLE, TITLE,
@ -70,7 +70,7 @@ void Tab::append(
REORDERABLE REORDERABLE
); );
if (TAB_FOCUS) if (FOCUS)
{ {
set_current_page( set_current_page(
page_number page_number

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

@ -25,7 +25,7 @@ namespace app::browser::main
void append( void append(
const Glib::ustring & TITLE, const Glib::ustring & TITLE,
const Glib::ustring & REQUEST = "", const Glib::ustring & REQUEST = "",
const bool & TAB_FOCUS = true const bool & FOCUS = true
); );
void close( void close(

Loading…
Cancel
Save