UndoStepQt::UndoStepQt(WTF::RefPtr<UndoStep> step, QUndoCommand *parent) : QUndoCommand(parent) , m_step(step) , m_first(true) { setText(undoNameForEditAction(step->editingAction())); }
UndoStepQt::UndoStepQt(WTF::RefPtr<UndoStep> step) : m_step(step) , m_first(true) { m_text = undoNameForEditAction(step->editingAction()); }