Cppcheck warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-12-23 10:51:05 +02:00
parent 82c48ef4c3
commit e777c788b4

View file

@ -3723,7 +3723,6 @@ void MainWindow::CreateActions()
recentFileActs[i] = action;
connect(recentFileActs[i], &QAction::triggered, RECEIVER(this)[action, this]()
{
// cppcheck-suppress nullPointerRedundantCheck
if (action != nullptr)
{
const QString filePath = action->data().toString();