mirror of
https://github.com/truebelief/cc-treeiso-plugin.git
synced 2026-08-30 17:10:29 +08:00
Improving the code syntax and robustness (Coverity scan)
This commit is contained in:
committed by
ZXi
parent
25a9ca397d
commit
a3f596e81a
+1
-1
@@ -107,7 +107,7 @@ QList<QAction *> qTreeIso::getActions()
|
||||
void qTreeIso::doAction()
|
||||
{
|
||||
Parameters parameters;
|
||||
ccTreeIsoDlg treeisoDlg(m_app->getMainWindow());
|
||||
ccTreeIsoDlg treeisoDlg(m_app ? m_app->getMainWindow() : nullptr);
|
||||
|
||||
connect(treeisoDlg.pushButtonInitSeg, &QPushButton::clicked, [&]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user