Browse Source

remove extra constructions

CPP-GTK4
yggverse 3 months ago
parent
commit
9cb2c3fd98
  1. 8
      src/app/browser/main/tab.cpp

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

@ -73,14 +73,6 @@ void Tab::append( @@ -73,14 +73,6 @@ void Tab::append(
void Tab::close(
int page_number
) {
auto pageWidget = get_nth_page(
page_number
);
auto labelWidget = get_tab_label(
* pageWidget
);
remove_page(
page_number
);

Loading…
Cancel
Save