mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 22:58:28 +02:00
cc_frm_header: use more plausible parameter name in addContextButton()
Origin commit data
------------------
Commit: 8839a3e954
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-02-08 (Tue, 08 Feb 2022)
This commit is contained in:
@@ -393,16 +393,16 @@ void CComponentsHeader::initLogo()
|
||||
}
|
||||
}
|
||||
|
||||
void CComponentsHeader::addContextButton(const std::string& button_name)
|
||||
void CComponentsHeader::addContextButton(const std::string& icon_name)
|
||||
{
|
||||
v_cch_btn.push_back(button_name);
|
||||
v_cch_btn.push_back(icon_name);
|
||||
dprintf(DEBUG_DEBUG, "[CComponentsHeader] %s added %d default buttons...\n", __func__, (int)v_cch_btn.size());
|
||||
}
|
||||
|
||||
void CComponentsHeader::addContextButton(const std::vector<std::string>& v_button_names)
|
||||
void CComponentsHeader::addContextButton(const std::vector<std::string>& v_icon_names)
|
||||
{
|
||||
for (size_t i= 0; i< v_button_names.size(); i++)
|
||||
addContextButton(v_button_names[i]);
|
||||
for (size_t i= 0; i< v_icon_names.size(); i++)
|
||||
addContextButton(v_icon_names[i]);
|
||||
}
|
||||
|
||||
void CComponentsHeader::addContextButton(const int& buttons)
|
||||
|
Reference in New Issue
Block a user