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/profiledialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/profiledialog.cpp') diff --git a/src/profiledialog.cpp b/src/profiledialog.cpp index 2842c6d..5d5b3d2 100644 --- a/src/profiledialog.cpp +++ b/src/profiledialog.cpp @@ -136,12 +136,12 @@ void ProfileDialog::createlayout( ) void ProfileDialog::deelete( const TQString& profileName, const bool ask ) { if( !kapp->config( )->hasGroup( PROFILE_PREFIX + profileName )) - { ASSERT( false ); + { Q_ASSERT( false ); return ; } TQListBoxItem* item = m_profileListBox->findItem( profileName, TQt::ExactMatch ); - ASSERT( item != NULL ); + Q_ASSERT( item != NULL ); if( item != NULL ) deelete( item, ask ); -- cgit v1.2.3