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( @@ -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( @@ -70,7 +70,7 @@ void Tab::append(
REORDERABLE
);
if (TAB_FOCUS)
if (FOCUS)
{
set_current_page(
page_number

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

@ -25,7 +25,7 @@ namespace app::browser::main @@ -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(

Loading…
Cancel
Save