diff options
Diffstat (limited to 'src/src/chart.cpp')
-rw-r--r-- | src/src/chart.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/chart.cpp b/src/src/chart.cpp index 5c1b0c2..a807b6f 100644 --- a/src/src/chart.cpp +++ b/src/src/chart.cpp @@ -24,7 +24,7 @@ Chart::Chart(TQWidget* parent, const double* uploadBuffer, const double* downloadBuffer, int bufferSize, const int* ptr, const double* maxspeed) : TQWidget(parent), mUplBuffer(uploadBuffer), mDldBuffer(downloadBuffer), mBufferSize(bufferSize), mPtr(ptr), mMaxSpeed(maxspeed) { setWFlags(TQt::WNoAutoErase); - tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); + setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); } void Chart::paintEvent(TQPaintEvent*) { |