summaryrefslogtreecommitdiffstats
path: root/src/gvcore/busylevelmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/busylevelmanager.cpp')
-rw-r--r--src/gvcore/busylevelmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/busylevelmanager.cpp b/src/gvcore/busylevelmanager.cpp
index 326fdf1..9555a0c 100644
--- a/src/gvcore/busylevelmanager.cpp
+++ b/src/gvcore/busylevelmanager.cpp
@@ -67,8 +67,8 @@ BusyLevelManager* BusyLevelManager::instance() {
void BusyLevelManager::setBusyLevel( TQObject* obj, BusyLevel level ) {
LOG("BUSY:" << level << ":" << obj << ":" << obj->className() );
if( level > BUSY_NONE ) {
- if( mBusyLevels.tqcontains( obj ) && mBusyLevels[ obj ] == level ) return;
- if( !mBusyLevels.tqcontains( obj )) {
+ if( mBusyLevels.contains( obj ) && mBusyLevels[ obj ] == level ) return;
+ if( !mBusyLevels.contains( obj )) {
connect( obj, TQT_SIGNAL( destroyed( TQObject* )), this, TQT_SLOT( objectDestroyed( TQObject* )));
}
mBusyLevels[ obj ] = level;