Fix some build warnings from event rewrite
This commit is contained in:
parent
e6c3277b0c
commit
551a771798
2 changed files with 7 additions and 6 deletions
|
@ -1585,7 +1585,7 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="horizontalSpacer_4">
|
<spacer name="horizontalSpacer_Objects">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1679,7 +1679,7 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="horizontalSpacer_4">
|
<spacer name="horizontalSpacer_Warps">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1773,7 +1773,7 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="horizontalSpacer_4">
|
<spacer name="horizontalSpacer_Triggers">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1873,7 +1873,7 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="horizontalSpacer_4">
|
<spacer name="horizontalSpacer_BGs">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1967,7 +1967,7 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="horizontalSpacer_4">
|
<spacer name="horizontalSpacer_Healspots">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -2156,6 +2156,8 @@ void MainWindow::eventTabChanged(int index) {
|
||||||
case Event::Group::Heal:
|
case Event::Group::Heal:
|
||||||
selectedEvent = selectedHealspot;
|
selectedEvent = selectedHealspot;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isProgrammaticEventTabChange) {
|
if (!isProgrammaticEventTabChange) {
|
||||||
|
@ -2192,7 +2194,6 @@ void MainWindow::on_toolButton_deleteObject_clicked() {
|
||||||
if (editor->selected_events->length()) {
|
if (editor->selected_events->length()) {
|
||||||
DraggablePixmapItem *nextSelectedEvent = nullptr;
|
DraggablePixmapItem *nextSelectedEvent = nullptr;
|
||||||
QList<Event *> selectedEvents;
|
QList<Event *> selectedEvents;
|
||||||
int numEvents = editor->selected_events->length();
|
|
||||||
int numDeleted = 0;
|
int numDeleted = 0;
|
||||||
for (DraggablePixmapItem *item : *editor->selected_events) {
|
for (DraggablePixmapItem *item : *editor->selected_events) {
|
||||||
Event::Group event_group = item->event->getEventGroup();
|
Event::Group event_group = item->event->getEventGroup();
|
||||||
|
|
Loading…
Reference in a new issue