moved inits into constructor
This commit is contained in:
+5
-5
@@ -60,11 +60,11 @@ QString get_channel_layout_name(int channels, uint64_t layout) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Media::Media(Media* iparent) :
|
Media::Media(Media* iparent) {
|
||||||
parent(iparent),
|
parent = iparent;
|
||||||
root(false),
|
root = false;
|
||||||
type(-1)
|
type = -1;
|
||||||
{}
|
}
|
||||||
|
|
||||||
Media::~Media() {
|
Media::~Media() {
|
||||||
for (int i=0;i<children.size();i++) {
|
for (int i=0;i<children.size();i++) {
|
||||||
|
|||||||
@@ -24,13 +24,12 @@
|
|||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
Sequence::Sequence() :
|
Sequence::Sequence() {
|
||||||
playhead(0),
|
playhead = 0;
|
||||||
using_workarea(false),
|
using_workarea = false;
|
||||||
workarea_in(0),
|
workarea_in = 0;
|
||||||
workarea_out(0),
|
workarea_out = 0;
|
||||||
wrapper_sequence(false)
|
wrapper_sequence = false;
|
||||||
{
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence::~Sequence() {}
|
Sequence::~Sequence() {}
|
||||||
|
|||||||
Reference in New Issue
Block a user