Browse Source

uppercase const name, make argument linked

CPP-GTK4
yggverse 2 months ago
parent
commit
fe8845ae1a
  1. 4
      src/app/browser/header/main/title.cpp
  2. 2
      src/app/browser/header/main/title.hpp

4
src/app/browser/header/main/title.cpp

@ -32,9 +32,9 @@ Title::Title() @@ -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
);
}

2
src/app/browser/header/main/title.hpp

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

Loading…
Cancel
Save