fix nonstandard use of pointer casting
This commit is contained in:
parent
43960d4e9e
commit
9e54537ba2
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue