diff --git a/src/app/browser/main/tab/page/navbar/history.cpp b/src/app/browser/main/tab/page/navbar/history.cpp index 466e07c8..e8b7f50b 100644 --- a/src/app/browser/main/tab/page/navbar/history.cpp +++ b/src/app/browser/main/tab/page/navbar/history.cpp @@ -10,23 +10,23 @@ History::History() "linked" // merge children elements ); - back = new history::Back(); + historyBack = new history::Back(); append( - * back + * historyBack ); - forward = new history::Forward(); + historyForward = new history::Forward(); append( - * forward + * historyForward ); } History::~History() { - delete back; - delete forward; + delete historyBack; + delete historyForward; }; // Actions @@ -38,11 +38,11 @@ void History::push( void History::refresh() { - back->set_sensitive( + historyBack->set_sensitive( false // @TODO ); - forward->set_sensitive( + historyForward->set_sensitive( false // @TODO ); } \ No newline at end of file diff --git a/src/app/browser/main/tab/page/navbar/history.hpp b/src/app/browser/main/tab/page/navbar/history.hpp index 6077856d..226c84d6 100644 --- a/src/app/browser/main/tab/page/navbar/history.hpp +++ b/src/app/browser/main/tab/page/navbar/history.hpp @@ -21,8 +21,8 @@ namespace app::browser::main::tab::page::navbar std::vector::iterator index; // Components - history::Back * back; - history::Forward * forward; + history::Back * historyBack; + history::Forward * historyForward; public: