2
0
forked from Ivasoft/DSView

Update the code style

This commit is contained in:
dreamsourcelabTAI
2022-11-02 17:37:17 +08:00
parent 2595f500a0
commit 57ae013256
49 changed files with 453 additions and 516 deletions

View File

@@ -43,9 +43,8 @@ XCursor::XCursor(View &view, QColor &colour,
_colour(colour)
{
_dsoSig = NULL;
const auto &sigs = _view.session().get_signals();
for(auto &s : sigs) {
for(auto s : _view.session().get_signals()) {
DsoSignal *dsoSig = NULL;
if ((dsoSig = dynamic_cast<DsoSignal*>(s)))
if (dsoSig->enabled()) {