Skip to content

Commit fab5d31

Browse files
committed
Fix compiling
1 parent 0cc7cc1 commit fab5d31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/ui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ void GlobalDebuggerUI::QueryTTDMemoryAccess(const UIActionContext& ctxt, uint64_
237237

238238
// Try to find the widget that was just created/activated and apply the query immediately
239239
// We'll give it a moment to be created if needed
240-
QTimer::singleShot(100, [frame, ctxt, startAddr, endAddr, accessTypeEnum]() {
240+
QTimer::singleShot(100, [sidebar, ctxt, startAddr, endAddr, accessTypeEnum]() {
241241
// Try to find the active TTD Memory widget
242-
auto* sidebarWidget = frame->getSidebarWidget("TTD Memory");
242+
auto* sidebarWidget = sidebar->widget("TTD Memory");
243243
if (auto* ttdWidget = qobject_cast<TTDMemorySidebarWidget*>(sidebarWidget))
244244
{
245245
ttdWidget->setParametersAndQuery(startAddr, endAddr, accessTypeEnum);

0 commit comments

Comments
 (0)