forked from qt-creator/qt-creator
Utils: Start replacing SavedActions by QAction or Utils::Aspect
First mechanical step here is to derive SavedActions from BaseAspect instead of QAction. Change-Id: I2ec95883b825462c1d867f83cc2b3bd2c2732055 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -203,7 +203,7 @@ public:
|
||||
if (HostOsInfo::isWindowsHost()) {
|
||||
SavedAction *registerAction = action(RegisterForPostMortem);
|
||||
m_group.insert(registerAction, checkBoxRegisterForPostMortem);
|
||||
connect(registerAction, &QAction::toggled,
|
||||
connect(registerAction->action(), &QAction::toggled,
|
||||
checkBoxRegisterForPostMortem, &QAbstractButton::setChecked);
|
||||
} else {
|
||||
checkBoxRegisterForPostMortem->setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user