From fe8845ae1a99c602c62e94561c723aaba44b6e8d Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 27 Aug 2024 14:41:56 +0300 Subject: [PATCH] uppercase const name, make argument linked --- src/app/browser/header/main/title.cpp | 4 ++-- src/app/browser/header/main/title.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/browser/header/main/title.cpp b/src/app/browser/header/main/title.cpp index 6983dae2..064b55c9 100644 --- a/src/app/browser/header/main/title.cpp +++ b/src/app/browser/header/main/title.cpp @@ -32,9 +32,9 @@ Title::Title() Title::~Title() = default; void Title::set( - const Glib::ustring value + const Glib::ustring & TEXT ) { set_text( - value.empty() ? DEFAULT_TEXT : value + " - " + DEFAULT_TEXT + TEXT.empty() ? DEFAULT_TEXT : TEXT + " - " + DEFAULT_TEXT ); } \ No newline at end of file diff --git a/src/app/browser/header/main/title.hpp b/src/app/browser/header/main/title.hpp index 26063003..da1ce3e7 100644 --- a/src/app/browser/header/main/title.hpp +++ b/src/app/browser/header/main/title.hpp @@ -21,7 +21,7 @@ namespace app::browser::header::main ~Title(); void set( - const Glib::ustring value + const Glib::ustring & TEXT ); }; }