commit
39d53e043b
|
@ -31,7 +31,8 @@ void SceneTree::SetGridMode(bool grid)
|
|||
setStyleSheet("");
|
||||
}
|
||||
|
||||
resizeEvent(new QResizeEvent(size(), size()));
|
||||
QResizeEvent event(size(), size());
|
||||
resizeEvent(&event);
|
||||
}
|
||||
|
||||
bool SceneTree::GetGridMode()
|
||||
|
@ -183,6 +184,6 @@ void SceneTree::rowsInserted(const QModelIndex &parent, int start, int end)
|
|||
{
|
||||
QListWidget::rowsInserted(parent, start, end);
|
||||
|
||||
QResizeEvent *event = new QResizeEvent(size(), size());
|
||||
SceneTree::resizeEvent(event);
|
||||
QResizeEvent event(size(), size());
|
||||
SceneTree::resizeEvent(&event);
|
||||
}
|
||||
|
|
|
@ -965,6 +965,8 @@ void encoder_list_create()
|
|||
da_push_back(vt_encoders, &enc);
|
||||
#undef VT_DICTSTR
|
||||
}
|
||||
|
||||
CFRelease(encoder_list);
|
||||
}
|
||||
|
||||
void encoder_list_destroy()
|
||||
|
|
Loading…
Reference in New Issue