Commit 59bee294 authored by Laurent Montel's avatar Laurent Montel 😁

Use nullptr here

parent fab007f0
......@@ -325,7 +325,7 @@ void Part::slotOnShutdown()
delete TrayIcon::getInstance();
TrayIcon::setInstance(nullptr);
delete m_storage;
m_storage = 0;
m_storage = nullptr;
//delete m_actionManager;
}
......
......@@ -346,7 +346,7 @@ void MainWidget::slotOnShutdown()
delete m_mainTab;
delete m_mainFrame;
m_mainFrame = 0;
m_mainFrame = nullptr;
Settings::self()->save();
}
......
Markdown is supported
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