fix nonstandard use of pointer casting

This commit is contained in:
garak 2022-09-06 00:20:14 -04:00
parent 43960d4e9e
commit 9e54537ba2

View file

@ -2030,7 +2030,7 @@ void MainWindow::updateSelectedObjects() {
this->isProgrammaticEventTabChange = false;
QList<EventFrame *> frames;
QList<QFrame *> 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);
}