From ed6e639082f0f66a79e002a35e7ca855454472e4 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 8 Sep 2024 01:41:58 +0300 Subject: [PATCH] remove deprecated constructions --- src/app/browser/main/tab/page/navigation/history.cpp | 4 ++-- src/app/browser/main/tab/page/navigation/history/back.cpp | 4 ---- src/app/browser/main/tab/page/navigation/history/forward.cpp | 4 ---- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/app/browser/main/tab/page/navigation/history.cpp b/src/app/browser/main/tab/page/navigation/history.cpp index f700371f..02c9d895 100644 --- a/src/app/browser/main/tab/page/navigation/history.cpp +++ b/src/app/browser/main/tab/page/navigation/history.cpp @@ -28,14 +28,14 @@ void History::refresh() { Memory match; - historyBack->set_sensitive( + historyBack->set_sensitive( // @TODO operate with action status try_back( match, false ) ); - historyForward->set_sensitive( + historyForward->set_sensitive( // @TODO operate with action status try_forward( match, false diff --git a/src/app/browser/main/tab/page/navigation/history/back.cpp b/src/app/browser/main/tab/page/navigation/history/back.cpp index e49d1103..327e111a 100644 --- a/src/app/browser/main/tab/page/navigation/history/back.cpp +++ b/src/app/browser/main/tab/page/navigation/history/back.cpp @@ -15,8 +15,4 @@ Back::Back() set_tooltip_text( _("Back") ); - - set_sensitive( - false // @TODO no effect by set_action_name - ); } diff --git a/src/app/browser/main/tab/page/navigation/history/forward.cpp b/src/app/browser/main/tab/page/navigation/history/forward.cpp index f261545f..98fe5b15 100644 --- a/src/app/browser/main/tab/page/navigation/history/forward.cpp +++ b/src/app/browser/main/tab/page/navigation/history/forward.cpp @@ -15,8 +15,4 @@ Forward::Forward() set_tooltip_text( _("Forward") ); - - set_sensitive( - false // @TODO no effect by set_action_name - ); } \ No newline at end of file