Commit 30b8c889 authored by Laurent Montel's avatar Laurent Montel
Browse files

Not necessary to check pointer before deleting it

parent b28073d9
......@@ -212,9 +212,7 @@ KCMNetworkmanagement::KCMNetworkmanagement(QWidget *parent, const QVariantList &
KCMNetworkmanagement::~KCMNetworkmanagement()
{
delete m_handler;
if (m_tabWidget) {
delete m_tabWidget;
}
delete m_tabWidget;
delete m_ui;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment