summaryrefslogtreecommitdiffstats
path: root/src/scanwidget.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-10-22 04:10:08 +0200
committerSlávek Banko <[email protected]>2018-10-22 04:10:08 +0200
commit45e95597267482ddb1023b33ebeeb50597d91508 (patch)
tree9aa9f0f24cef676f20539cd863d3b505b1b0b2ec /src/scanwidget.cpp
parentaa733e149ff079df2c4d6a3dc6b2625b232697da (diff)
downloadknmap-45e95597267482ddb1023b33ebeeb50597d91508.tar.gz
knmap-45e95597267482ddb1023b33ebeeb50597d91508.zip
Removed obsolete Qt2's ASSERT and replace with Q_ASSERT.
The definition of -UTQT_NO_COMPAT is no longer needed. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/scanwidget.cpp')
-rw-r--r--src/scanwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanwidget.cpp b/src/scanwidget.cpp
index d8fe67c..a704c2a 100644
--- a/src/scanwidget.cpp
+++ b/src/scanwidget.cpp
@@ -506,8 +506,8 @@ bool ScanWidget::createPipe( const TQString type, const TQString& tempDir, TQFil
// ===========
bool ScanWidget::createPipes( )
-{ ASSERT( m_pipeStderr == NULL );
- ASSERT( m_pipeStdout == NULL );
+{ Q_ASSERT( m_pipeStderr == NULL );
+ Q_ASSERT( m_pipeStdout == NULL );
TDEStandardDirs standardDirs;
TQStringList tempDir = standardDirs.resourceDirs( "tmp" );