From 95983be406fb236d97079bd11142de629503a0a3 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Thu, 1 Jul 2021 12:15:30 +0200 Subject: [PATCH] remove delete shortcut from filter layer --- src/meshlabplugins/filter_layer/filter_layer.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/meshlabplugins/filter_layer/filter_layer.cpp b/src/meshlabplugins/filter_layer/filter_layer.cpp index fda0295ba..95fc05e15 100644 --- a/src/meshlabplugins/filter_layer/filter_layer.cpp +++ b/src/meshlabplugins/filter_layer/filter_layer.cpp @@ -58,17 +58,9 @@ FilterLayerPlugin::FilterLayerPlugin() FP_IMPORT_CAMERAS }; - QCoreApplication* app = QCoreApplication::instance(); - for(ActionIDType tt: types()) { QAction* act = new QAction(filterName(tt), this); actionList.push_back(act); - - if (app != nullptr) { - if(tt==FP_DELETE_MESH){ - act->setShortcut(Qt::CTRL + Qt::Key_D); - } - } } }