diff --git a/src/app/browser/main/tab/page.cpp b/src/app/browser/main/tab/page.cpp index 44898144..2f621588 100644 --- a/src/app/browser/main/tab/page.cpp +++ b/src/app/browser/main/tab/page.cpp @@ -132,11 +132,11 @@ int Page::restore( ); } -int Page::save( +void Page::save( const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID ) { // Delegate save action to child components - return pageNavigation->save( + pageNavigation->save( DB::SESSION::add( db, APP_BROWSER_MAIN_TAB__SESSION__ID, diff --git a/src/app/browser/main/tab/page.hpp b/src/app/browser/main/tab/page.hpp index 7722e634..1112f12e 100644 --- a/src/app/browser/main/tab/page.hpp +++ b/src/app/browser/main/tab/page.hpp @@ -125,7 +125,7 @@ namespace app::browser::main::tab const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID ); // return sqlite3_finalize status code - int save( + void save( const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID );