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 04:10:08 +0200 |
commit | 45e95597267482ddb1023b33ebeeb50597d91508 (patch) | |
tree | 9aa9f0f24cef676f20539cd863d3b505b1b0b2ec /src/profiledialog.cpp | |
parent | aa733e149ff079df2c4d6a3dc6b2625b232697da (diff) | |
download | knmap-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 <slavek.banko@axis.cz>
Diffstat (limited to 'src/profiledialog.cpp')
-rw-r--r-- | src/profiledialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |