Skip to content

Commit

Permalink
debugger/WatchListEntry: Fix faulty dynamic_cast
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei-Fabian-Pop <[email protected]>
  • Loading branch information
Andrei-Fabian-Pop authored and adisuciu committed Sep 11, 2024
1 parent 3e134cf commit 62c3253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/debugger/src/iioexplorer/watchlistentry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void WatchListEntry::setupWidget(IIOWidget *widget)
m_valueUi = m_lineedit;
}

QObject::connect(dynamic_cast<QWidget *>(widget->getDataStrategy()), SIGNAL(sendData(QString, QString)), this,
QObject::connect(dynamic_cast<QObject *>(widget->getDataStrategy()), SIGNAL(sendData(QString, QString)), this,
SLOT(setNewData(QString, QString)));
}

Expand Down

0 comments on commit 62c3253

Please sign in to comment.