From 45e95597267482ddb1023b33ebeeb50597d91508 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Mon, 22 Oct 2018 04:10:08 +0200 Subject: Removed obsolete Qt2's ASSERT and replace with Q_ASSERT. The definition of -UTQT_NO_COMPAT is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/commonwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/commonwidget.cpp') 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 ); } -- cgit v1.2.3