mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 15:47:19 +02:00
NewsItem: Reorder arguments to follow rendering order
This commit is contained in:
parent
c574cbf948
commit
36e1f8c8ec
2 changed files with 6 additions and 6 deletions
|
@ -79,19 +79,19 @@ void wait_for_enter ()
|
||||||
NewsItem::NewsItem (
|
NewsItem::NewsItem (
|
||||||
bool major,
|
bool major,
|
||||||
const std::string& title,
|
const std::string& title,
|
||||||
const std::string& punchline,
|
|
||||||
const std::string& update,
|
|
||||||
const std::string& bg_title,
|
const std::string& bg_title,
|
||||||
const std::string& background,
|
const std::string& background,
|
||||||
|
const std::string& punchline,
|
||||||
|
const std::string& update,
|
||||||
const std::string& reasoning,
|
const std::string& reasoning,
|
||||||
const std::string& actions
|
const std::string& actions
|
||||||
) {
|
) {
|
||||||
_major = major;
|
_major = major;
|
||||||
_title = title;
|
_title = title;
|
||||||
_punchline = punchline;
|
|
||||||
_update = update;
|
|
||||||
_bg_title = bg_title;
|
_bg_title = bg_title;
|
||||||
_background = background;
|
_background = background;
|
||||||
|
_punchline = punchline;
|
||||||
|
_update = update;
|
||||||
_reasoning = reasoning;
|
_reasoning = reasoning;
|
||||||
_actions = actions;
|
_actions = actions;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,10 +35,10 @@ class NewsItem {
|
||||||
public:
|
public:
|
||||||
bool _major = false;
|
bool _major = false;
|
||||||
std::string _title;
|
std::string _title;
|
||||||
std::string _punchline;
|
|
||||||
std::string _update;
|
|
||||||
std::string _bg_title;
|
std::string _bg_title;
|
||||||
std::string _background;
|
std::string _background;
|
||||||
|
std::string _punchline;
|
||||||
|
std::string _update;
|
||||||
std::string _reasoning;
|
std::string _reasoning;
|
||||||
std::string _actions;
|
std::string _actions;
|
||||||
NewsItem (
|
NewsItem (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue