From 5dd7abf6cf5c26b7f24d069a0a4b00b28e20e183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Sun, 29 Oct 2017 18:21:54 +0100 Subject: [PATCH] Remove duplicate lines --- src/model/Database.cpp | 2 +- src/view/wxUI.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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]); }