several conversions to smart pointers

This commit is contained in:
itsmattkc
2019-02-16 21:21:04 -08:00
parent e063a5ba8f
commit 5207a0511f
104 changed files with 972 additions and 945 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ void NewSequenceDialog::set_sequence_name(const QString& s) {
void NewSequenceDialog::create() {
if (existing_sequence == nullptr) {
Sequence* s = new Sequence();
SequencePtr s(new Sequence());
s->name = sequence_name_edit->text();
s->width = width_numeric->value();
@@ -112,7 +112,7 @@ void NewSequenceDialog::create() {
ca->append(esc);
for (int i=0;i<existing_sequence->clips.size();i++) {
Clip* c = existing_sequence->clips.at(i);
ClipPtr c = existing_sequence->clips.at(i);
if (c != nullptr) {
c->refactor_frame_rate(ca, multiplier, true);
}