if (version <= 0.83) {
// Replace point size with pixel size in text titles
if (m_doc.toString().contains("font-size")) {
- KMessageBox::ButtonCode convert;
+ KMessageBox::ButtonCode convert = KMessageBox::Continue;
QDomNodeList kproducerNodes = m_doc.elementsByTagName("kdenlive_producer");
for (int i = 0; i < kproducerNodes.count() && convert != KMessageBox::No; ++i) {
QDomElement kproducer = kproducerNodes.at(i).toElement();
bool isModified() const;
private:
- bool m_modified;
QDomDocument m_doc;
+ bool m_modified;
bool upgrade(double version, const double currentVersion);
QString colorToString(const QColor& c);
};
private:
CustomTrackView *m_view;
const int m_track;
- QDomElement m_effect;
QDomElement m_oldeffect;
+ QDomElement m_effect;
const GenTime m_pos;
int m_stackPos;
bool m_doIt;
// virtual
void MoveClipCommand::redo()
{
- kDebug() << "---- redoing action";
+ //kDebug() << "---- redoing action";
if (m_doIt)
m_view->moveClip(m_startPos, m_endPos);
m_doIt = true;
#ifndef MOVECLIPCOMMAND_H
#define MOVECLIPCOMMAND_H
-#include <QUndoCommand>
-#include <QGraphicsView>
-#include <QPointF>
-#include <KDebug>
#include "definitions.h"
+#include <QUndoCommand>
class CustomTrackView;
#ifndef MOVEGROUPCOMMAND_H
#define MOVEGROUPCOMMAND_H
-#include <QUndoCommand>
-#include <QGraphicsView>
-#include <QPointF>
-
-#include <KDebug>
#include "definitions.h"
+#include <QUndoCommand>
class GenTime;
class CustomTrackView;
// virtual
void MoveTransitionCommand::redo()
{
- kDebug() << "---- redoing action";
+ //kDebug() << "---- redoing action";
if (m_doIt) m_view->moveTransition(m_startPos, m_endPos);
m_doIt = true;
}
-#include "moveclipcommand.moc"
+
#ifndef MOVETRANSITIONCOMMAND_H
#define MOVETRANSITIONCOMMAND_H
-#include <QUndoCommand>
-#include <QGraphicsView>
-#include <QPointF>
-
-#include <KDebug>
-
#include "definitions.h"
+#include <QUndoCommand>
+
class CustomTrackView;
class MoveTransitionCommand : public QUndoCommand