Fix warning
This commit is contained in:
parent
ad0379ff34
commit
ed92ed794b
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -146,7 +146,7 @@ void MyPrefs::btnok_clicked()
|
||||||
)");
|
)");
|
||||||
|
|
||||||
// Get Branchs, Versions and Modes
|
// Get Branchs, Versions and Modes
|
||||||
for (int i = 0; i < ver_list->get_n_items(); i++)
|
for (guint i = 0; i < ver_list->get_n_items(); i++)
|
||||||
{
|
{
|
||||||
// Get Item
|
// Get Item
|
||||||
auto item = ver_list->get_item(i);
|
auto item = ver_list->get_item(i);
|
||||||
|
@ -211,7 +211,7 @@ void MyPrefs::apply_config()
|
||||||
background_id = data["background"];
|
background_id = data["background"];
|
||||||
|
|
||||||
// Set text from json file data
|
// Set text from json file data
|
||||||
for (int i = 0; i < branches_vec.size(); i++)
|
for (guint i = 0; i < branches_vec.size(); i++)
|
||||||
{
|
{
|
||||||
ver_list->append(ModelColumns::create(
|
ver_list->append(ModelColumns::create(
|
||||||
branches_vec[i].c_str(), versions_vec[i].c_str(), modes_vec[i]));
|
branches_vec[i].c_str(), versions_vec[i].c_str(), modes_vec[i]));
|
||||||
|
|
Loading…
Reference in New Issue