mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-20 07:36:31 -05:00
fix nonstandard use of pointer casting
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user