summaryrefslogtreecommitdiffstats
path: root/src/scanstack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanstack.cpp')
-rw-r--r--src/scanstack.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scanstack.cpp b/src/scanstack.cpp
index 12d623c..5f5644b 100644
--- a/src/scanstack.cpp
+++ b/src/scanstack.cpp
@@ -66,7 +66,7 @@ void ScanStack::appendAndRaiseWidget( ScanWidget* scanWidget )
// ================
void ScanStack::appendHTMLWidget( HTMLWidget* htmlWidget )
-{ ASSERT( m_widgetId == 1 );
+{ Q_ASSERT( m_widgetId == 1 );
addWidget( (TQWidget*) htmlWidget, m_widgetId++ );
}
@@ -94,7 +94,7 @@ short ScanStack::indexOfVisibleScanWidget( )
break;
if( !moreScanWidgets( i ))
- { ASSERT( false );
+ { Q_ASSERT( false );
return -1;
}
@@ -108,7 +108,7 @@ ScanWidget* ScanStack::makeScanWidgetVisible( const ushort index )
{ ScanWidget* current = scanWidget( index );
if( current == NULL )
- ASSERT( false );
+ Q_ASSERT( false );
else
{ current->ignoreTabChanges( true );
raiseWidget( current );
@@ -156,7 +156,7 @@ void ScanStack::removeScanWidget( ScanWidget* scanWidgetToRemove )
short index = findScanWidget( scanWidgetToRemove );
if( index < 0 )
- { ASSERT( false );
+ { Q_ASSERT( false );
return;
}