uppercase const name, make argument linked

This commit is contained in:
yggverse 2024-08-27 14:41:56 +03:00
parent a711b683cc
commit fe8845ae1a
2 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,9 @@ Title::Title()
Title::~Title() = default; Title::~Title() = default;
void Title::set( void Title::set(
const Glib::ustring value const Glib::ustring & TEXT
) { ) {
set_text( set_text(
value.empty() ? DEFAULT_TEXT : value + " - " + DEFAULT_TEXT TEXT.empty() ? DEFAULT_TEXT : TEXT + " - " + DEFAULT_TEXT
); );
} }

View File

@ -21,7 +21,7 @@ namespace app::browser::header::main
~Title(); ~Title();
void set( void set(
const Glib::ustring value const Glib::ustring & TEXT
); );
}; };
} }