Cppcheck warning.
--HG-- branch : develop
This commit is contained in:
parent
82c48ef4c3
commit
e777c788b4
|
@ -3723,7 +3723,6 @@ void MainWindow::CreateActions()
|
||||||
recentFileActs[i] = action;
|
recentFileActs[i] = action;
|
||||||
connect(recentFileActs[i], &QAction::triggered, RECEIVER(this)[action, this]()
|
connect(recentFileActs[i], &QAction::triggered, RECEIVER(this)[action, this]()
|
||||||
{
|
{
|
||||||
// cppcheck-suppress nullPointerRedundantCheck
|
|
||||||
if (action != nullptr)
|
if (action != nullptr)
|
||||||
{
|
{
|
||||||
const QString filePath = action->data().toString();
|
const QString filePath = action->data().toString();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user