From de83d2252316e53a73aed1bde000174a46447dc4 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Wed, 7 Sep 2011 19:23:34 +1000 Subject: [PATCH] Re-enabled keyboard and bugfix to work with overview --- Graphs/gGraphView.cpp | 1 - overview.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Graphs/gGraphView.cpp b/Graphs/gGraphView.cpp index 683e0f58..8a7a00f0 100644 --- a/Graphs/gGraphView.cpp +++ b/Graphs/gGraphView.cpp @@ -1839,7 +1839,6 @@ void gGraphView::wheelEvent(QWheelEvent * event) void gGraphView::keyPressEvent(QKeyEvent * event) { - return; gGraph *g; for (int i=0;igroup()==0) { diff --git a/overview.cpp b/overview.cpp index 4ed9a703..8b60892c 100644 --- a/overview.cpp +++ b/overview.cpp @@ -53,8 +53,8 @@ Overview::Overview(QWidget *parent,gGraphView * shared) : layout->layout(); const int default_height=180; - AHI=new gGraph(GraphView,"AHI Chart",default_height,2); - UC=new gGraph(GraphView,"Usage Chart",default_height,2); + AHI=new gGraph(GraphView,"AHI Chart",default_height,0); + UC=new gGraph(GraphView,"Usage Chart",default_height,0); uc=new UsageChart(profile); UC->AddLayer(new gYAxis(),LayerLeft,gYAxis::Margin); gXAxis *gx=new gXAxis();