From 9e54537ba21c4e8c9f281c4e8407af92706de6a1 Mon Sep 17 00:00:00 2001 From: garak Date: Tue, 6 Sep 2022 00:20:14 -0400 Subject: [PATCH] fix nonstandard use of pointer casting --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 65836ef3..81093bc6 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2030,7 +2030,7 @@ void MainWindow::updateSelectedObjects() { this->isProgrammaticEventTabChange = false; - QList frames; + QList frames; for (DraggablePixmapItem *item : events) { Event *event = item->event; EventFrame *eventFrame = event->createEventFrame(); @@ -2055,7 +2055,7 @@ void MainWindow::updateSelectedObjects() { scrollTarget->setWidgetResizable(true); scrollTarget->setWidget(target); - for (EventFrame *frame : frames) { + for (QFrame *frame : frames) { frame->show(); layout->addWidget(frame); }