summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/BarGraph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/BarGraph.cc')
-rw-r--r--ksysguard/gui/SensorDisplayLib/BarGraph.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/BarGraph.cc b/ksysguard/gui/SensorDisplayLib/BarGraph.cc
index cf0c1ee0a..8d2b5e302 100644
--- a/ksysguard/gui/SensorDisplayLib/BarGraph.cc
+++ b/ksysguard/gui/SensorDisplayLib/BarGraph.cc
@@ -78,7 +78,7 @@ bool BarGraph::removeBar( uint idx )
}
samples.resize( --bars );
- footers.remove( footers.tqat( idx ) );
+ footers.remove( footers.at( idx ) );
update();
return true;
@@ -103,7 +103,7 @@ void BarGraph::paintEvent( TQPaintEvent* )
TQPixmap pm( w, h );
TQPainter p;
- p.tqbegin( &pm, this );
+ p.begin( &pm, this );
p.setFont( TQFont( p.font().family(), fontSize ) );
TQFontMetrics fm( p.font() );