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:
@@ -204,7 +204,7 @@ CdbEngine::CdbEngine() :
|
||||
wh->addTypeFormats("QImage", imageFormats);
|
||||
wh->addTypeFormats("QImage *", imageFormats);
|
||||
|
||||
connect(action(CreateFullBacktrace), &QAction::triggered,
|
||||
connect(action(CreateFullBacktrace)->action(), &QAction::triggered,
|
||||
this, &CdbEngine::createFullBacktrace);
|
||||
connect(&m_process, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished),
|
||||
this, &CdbEngine::processFinished);
|
||||
@@ -216,7 +216,7 @@ CdbEngine::CdbEngine() :
|
||||
connect(action(UseDebuggingHelpers), &SavedAction::valueChanged,
|
||||
this, &CdbEngine::updateLocals);
|
||||
|
||||
if (action(UseCodeModel)->isChecked())
|
||||
if (action(UseCodeModel)->action()->isChecked())
|
||||
m_codeModelSnapshot = CppTools::CppModelManager::instance()->snapshot();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user