diff --git a/src/app/browser.cpp b/src/app/browser.cpp index 5b603c2c..52307d12 100644 --- a/src/app/browser.cpp +++ b/src/app/browser.cpp @@ -226,7 +226,7 @@ Browser::Browser( signal_close_request().connect( [this] { - browserMain->shutdown(); + browserMain->save(); // @TODO sqlite3_close(db); diff --git a/src/app/browser/main.cpp b/src/app/browser/main.cpp index 35055b7d..a1836ea4 100644 --- a/src/app/browser/main.cpp +++ b/src/app/browser/main.cpp @@ -105,11 +105,6 @@ void Main::tab_page_navigation_history_forward() ); }; -void Main::shutdown() -{ - mainTab->shutdown(); -} - // Getters Glib::ustring Main::get_current_tab_page_title() { diff --git a/src/app/browser/main.hpp b/src/app/browser/main.hpp index 1436e35b..cba55d2f 100644 --- a/src/app/browser/main.hpp +++ b/src/app/browser/main.hpp @@ -53,8 +53,6 @@ namespace app::browser void tab_page_navigation_history_back(); void tab_page_navigation_history_forward(); - void shutdown(); - // Getters Glib::ustring get_current_tab_page_title(); Glib::ustring get_current_tab_page_subtitle(); diff --git a/src/app/browser/main/tab.cpp b/src/app/browser/main/tab.cpp index b32e79a6..08315837 100644 --- a/src/app/browser/main/tab.cpp +++ b/src/app/browser/main/tab.cpp @@ -170,13 +170,6 @@ int Tab::save() return EXEC_STATUS; } -void Tab::shutdown() -{ - save(); - - // @TODO shutdown children components -} - // Actions void Tab::refresh( const int & PAGE_NUMBER diff --git a/src/app/browser/main/tab.hpp b/src/app/browser/main/tab.hpp index 404ac046..4d0b59f5 100644 --- a/src/app/browser/main/tab.hpp +++ b/src/app/browser/main/tab.hpp @@ -98,8 +98,6 @@ namespace app::browser::main int save(); - void shutdown(); - // Getters Glib::ustring get_page_title( const int & PAGE_NUMBER