diff options
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib')
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/ProcessList.cc | 2 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/SensorDisplay.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/ProcessList.cc b/ksysguard/gui/SensorDisplayLib/ProcessList.cc index 0dc2faf53..c1a60b65e 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessList.cc +++ b/ksysguard/gui/SensorDisplayLib/ProcessList.cc @@ -635,7 +635,7 @@ ProcessList::addProcess(KSGRD::SensorPSLine* p, ProcessLVI* pli) icon.fill(); bitBlt(&icon, 4, 0, &pix, 0, 0, pix.width(), pix.height()); TQBitmap mask(24, 16, true); - bitBlt(&mask, 4, 0, pix.tqmask(), 0, 0, pix.width(), pix.height()); + bitBlt(&mask, 4, 0, pix.mask(), 0, 0, pix.width(), pix.height()); icon.setMask(mask); pix = icon; } diff --git a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc index 34c448918..7acd11501 100644 --- a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc +++ b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc @@ -447,8 +447,8 @@ void SensorDisplay::setSensorOk( bool ok ) mErrorIndicator = new TQWidget( mPlotterWdg ); mErrorIndicator->setErasePixmap( errorIcon ); mErrorIndicator->resize( errorIcon.size() ); - if ( errorIcon.tqmask() ) - mErrorIndicator->setMask( *errorIcon.tqmask() ); + if ( errorIcon.mask() ) + mErrorIndicator->setMask( *errorIcon.mask() ); mErrorIndicator->move( 0, 0 ); mErrorIndicator->show(); } |