diff --git a/src/model/Database.cpp b/src/model/Database.cpp index fa86f6a..74dbe82 100644 --- a/src/model/Database.cpp +++ b/src/model/Database.cpp @@ -1704,7 +1704,7 @@ void Database::GetStats(User* user, int monthFrom, int yearFrom, int monthTo, } void Database::GetMonthStats(User* user, int month, int year, int nbDays, - std::map >* operations, + std::map >* operations, std::map* categories, std::map* tags) { QSqlRecord set; diff --git a/src/view/wxUI.cpp b/src/view/wxUI.cpp index e43a24e..23cdd4f 100644 --- a/src/view/wxUI.cpp +++ b/src/view/wxUI.cpp @@ -254,8 +254,6 @@ void wxUI::LoadUser() LoadPanels(); - LoadPanels(); - if (_panels.size()) ShowPanel(_panels[0]); }