delete m_aResetHz;
delete m_aTrackMouse;
+ delete ui;
}
void AudioSpectrum::readConfig()
delete m_aResetHz;
delete m_aTrackMouse;
delete m_aGrid;
+ delete ui;
}
void Spectrogram::readConfig()
if (effectId.isEmpty()) effectId = effect.attribute("tag");
parameters.addParam("id", effectId);
- // special case: the affine effect needs in / out points
+ // special case: the affine effect needs in / out points
if (effectId == "pan_zoom") {
parameters.addParam("in", QString::number(cropStart().frames(m_fps)));
parameters.addParam("out", QString::number((cropStart() + cropDuration()).frames(m_fps)));
}
QPixmap p;
for (int i = start; i <= end; i++) {
- if (!view->pixmapCache->find(m_clip->fileURL().path() + "%" + QString::number(i), p)) {
+ if (!view->m_pixmapCache->find(m_clip->fileURL().path() + "%" + QString::number(i), p)) {
p = m_clip->thumbProducer()->extractImage(i, twidth, theight);
- view->pixmapCache->insert(m_clip->fileURL().path() + "%" + QString::number(i), p);
+ view->m_pixmapCache->insert(m_clip->fileURL().path() + "%" + QString::number(i), p);
}
painter->drawPixmap(startPos + QPointF(twidth *(i - offset), 0), p);
}
delete m_aAxisEnabled;
delete m_a75PBox;
delete m_agColorSpace;
+ delete ui;
}
QString Vectorscope::widgetName() const { return QString("Vectorscope"); }
Waveform::Waveform(Monitor *projMonitor, Monitor *clipMonitor, QWidget *parent) :
AbstractGfxScopeWidget(projMonitor, clipMonitor, true, parent)
+ ,ui(NULL)
{
ui = new Ui::Waveform_UI();
ui->setupUi(this);
delete m_aRec601;
delete m_aRec709;
delete m_agRec;
+ delete ui;
}
void Waveform::readConfig()
m_activeTrackBrush = KStatefulBrush(KColorScheme::View, KColorScheme::ActiveBackground, KSharedConfig::openConfig(KdenliveSettings::colortheme()));
- pixmapCache = new KPixmapCache("kdenlive-thumbs");
+ m_pixmapCache = new KPixmapCache("kdenlive-thumbs");
m_animationTimer = new QTimeLine(800);
m_animationTimer->setFrameRange(0, 5);
qDeleteAll(m_guides);
m_guides.clear();
m_waitingThumbs.clear();
+ delete m_pixmapCache;
+ delete m_animationTimer;
}
//virtual
void clearSelection();
void editItemDuration();
void buildGuidesMenu(QMenu *goMenu) const;
- KPixmapCache* pixmapCache;
+ KPixmapCache* m_pixmapCache;
/** update the timeline objects when palette changes */
void updatePalette();
/** @brief Returns true if a track has audio data on it.
delete m_projectMonitor;
delete m_clipMonitor;
delete m_shortcutRemoveFocus;
+ delete[] m_transitions;
Mlt::Factory::close();
}
{
m_isBlocked = 1;
closeMlt();
+ delete m_mltProfile;
}
Mlt::Playlist trackPlaylist((mlt_playlist) trackProducer.get_service());
if (trackPlaylist.type() == playlist_type) trackPlaylist.clear();
}
+ delete field;
+ field = NULL;
}
mlt_service_unlock(service.get_service());
}
m_blackClip = NULL;
//TODO: uncomment following line when everything is clean
- //if (m_mltProfile) delete m_mltProfile;
+ // uncommented Feb 2011 --Granjow
+ if (m_mltProfile) delete m_mltProfile;
+
m_mltProfile = new Mlt::Profile(tmp);
m_mltProfile->get_profile()->is_explicit = 1;
delete[] tmp;
SmallRuler::SmallRuler(MonitorManager *manager, QWidget *parent) :
- QWidget(parent),
- m_scale(1),
- m_maxval(25),
- m_manager(manager)
+ QWidget(parent)
+ ,m_cursorFramePosition(0)
+ ,m_scale(1)
+ ,m_maxval(25)
+ ,m_manager(manager)
{
m_zoneStart = 10;
m_zoneEnd = 60;
TimecodeDisplay::TimecodeDisplay(Timecode t, QWidget *parent)
: QAbstractSpinBox(parent),
m_timecode(t),
+ m_frametimecode(false),
m_minimum(0),
m_maximum(-1)
{