Commit 49b8aa79 authored by T.J. Corona's avatar T.J. Corona Committed by Kitware Robot
Browse files

Merge topic 'future-proof-signal-slot'

2699e85d

 Use new-style signal/slot connection for pqPropertiesPanel
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: David Thompson's avatarDavid Thompson <david.thompson@kitware.com>
Merge-request: !754
parents b22b802c 2699e85d
Pipeline #187133 failed with stages
in 5 minutes and 9 seconds
......@@ -30,6 +30,7 @@
#include "pqPVApplicationCore.h"
#include "pqParaViewBehaviors.h"
#include "pqParaViewMenuBuilders.h"
#include "pqPipelineSource.h"
#include "pqStandardViewFrameActionsImplementation.h"
#include "pqTestUtility.h"
......@@ -318,8 +319,8 @@ void mbMainWindow::postParaViewSetup()
// Enable delete from the properties panel.
auto actionDel = new QAction(this);
auto reactionDel = new pqDeleteReaction(actionDel);
QObject::connect(this->Internals->proxyTabWidget, SIGNAL(deleteRequested(pqPipelineSource*)),
reactionDel, SLOT(deleteSource(pqPipelineSource*)));
QObject::connect(this->Internals->proxyTabWidget, &pqPropertiesPanel::deleteRequested,
reactionDel, &pqDeleteReaction::deleteSource);
// Prepare sources and filters from XML
// Load the filter and source XML configurations like
......
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