[PATCH 09/13] Remove useless variables (#7).
Vincent Ordy
vincent at ordy.net
Thu Jun 17 18:27:21 CEST 2010
---
kmymoney/reports/kreportchartview.cpp | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/kmymoney/reports/kreportchartview.cpp b/kmymoney/reports/kreportchartview.cpp
index eedce09..e2129bd 100644
--- a/kmymoney/reports/kreportchartview.cpp
+++ b/kmymoney/reports/kreportchartview.cpp
@@ -100,13 +100,6 @@ void KReportChartView::drawPivotChart(const PivotGrid &grid, const MyMoneyReport
// an account in a COLUMN, while line/bar prefer it in a ROW.
setAccountSeries(true);
- //what values should be shown
- bool showBudget = config.hasBudget();
- bool showForecast = config.isIncludingForecast();
- bool showActual = false;
- if ((config.isIncludingBudgetActuals()) || (!showBudget && !showForecast))
- showActual = true;
-
switch (config.chartType()) {
case MyMoneyReport::eChartNone:
case MyMoneyReport::eChartEnd:
--
1.7.1
--------------060703030708080806090607
Content-Type: text/x-diff;
name="0010-Getters-should-be-const.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="0010-Getters-should-be-const.patch"
More information about the KMyMoney-devel
mailing list