diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-10-22 04:10:08 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-10-22 18:42:36 +0200 |
commit | 83fb5c2a160acd743fe6beab0dca68a5ad8faf21 (patch) | |
tree | c150bd4d9daeaa099a9bb472c1484b2c3b81a6e9 /src/commonwidget.cpp | |
parent | a83f600010c3c5d097c64ff3847ff59f2b2eaf7e (diff) | |
download | knmap-83fb5c2a160acd743fe6beab0dca68a5ad8faf21.tar.gz knmap-83fb5c2a160acd743fe6beab0dca68a5ad8faf21.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 <slavek.banko@axis.cz>
(cherry picked from commit 45e95597267482ddb1023b33ebeeb50597d91508)
Diffstat (limited to 'src/commonwidget.cpp')
-rw-r--r-- | src/commonwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commonwidget.cpp b/src/commonwidget.cpp index 2ce9253..7a13902 100644 --- a/src/commonwidget.cpp +++ b/src/commonwidget.cpp @@ -369,7 +369,7 @@ bool CommonWidget::portRangesOverlapping( const ushort portFirst, const ushort p default: kdDebug( ) << i18n( "unknown value in Port Range Protocol combo box" ) << endl; - ASSERT( false ); + Q_ASSERT( false ); delete [] tcpPorts; delete [] udpPorts; return false; @@ -495,7 +495,7 @@ void CommonWidget::slotPortRangeAddClicked( ) default: kdDebug( ) << i18n( "unknown value in Port Range Protocol combo box" ) << endl; - ASSERT( false ); + Q_ASSERT( false ); } m_portRangeAddButton->setEnabled( false ); @@ -549,7 +549,7 @@ void CommonWidget::slotPortRangeDoubleClicked( TQListBoxItem* item ) default: kdDebug( ) << i18n( "unknown value in Port Range Protocol" ) << endl; - ASSERT( false ); + Q_ASSERT( false ); m_portRangeComboBox->setCurrentItem( BothProtocol ); } |