From 4efde039cb6554063d2c3eae997c8af4e3648f00 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Fri, 21 Nov 2014 08:13:38 +0100 Subject: [PATCH] Use Q_ASSERT --- kmail/kmmainwidget.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kmail/kmmainwidget.cpp b/kmail/kmmainwidget.cpp index f29fdb3f88..f44b613dbf 100644 --- a/kmail/kmmainwidget.cpp +++ b/kmail/kmmainwidget.cpp @@ -194,7 +194,6 @@ using KSieveUi::SieveDebugDialog; #include // System includes -#include #include // ugh #include #include @@ -609,8 +608,8 @@ void KMMainWidget::writeFolderConfig() void KMMainWidget::layoutSplitters() { // This function can only be called when the old splitters are already deleted - assert( !mSplitter1 ); - assert( !mSplitter2 ); + Q_ASSERT( !mSplitter1 ); + Q_ASSERT( !mSplitter2 ); // For some reason, this is necessary here so that the copy action still // works after changing the folder layout. -- GitLab