Mercurial > hg > svgui
diff layer/ImageLayer.cpp @ 376:e1a9e478b7f2
* juggle some files around in order to free audioio, base, and system libraries
from dependency on QtGui
author | Chris Cannam |
---|---|
date | Wed, 12 Mar 2008 17:42:56 +0000 |
parents | d58701996fae |
children | 22b72f0f6a4e |
line wrap: on
line diff
--- a/layer/ImageLayer.cpp Wed Mar 12 14:40:18 2008 +0000 +++ b/layer/ImageLayer.cpp Wed Mar 12 17:42:56 2008 +0000 @@ -571,7 +571,7 @@ m_editingPoint = ImageModel::Point(frame, "", ""); m_originalPoint = m_editingPoint; - if (m_editingCommand) m_editingCommand->finish(); + if (m_editingCommand) finish(m_editingCommand); m_editingCommand = new ImageModel::EditCommand(m_model, "Add Image"); m_editingCommand->addPoint(m_editingPoint); @@ -616,7 +616,7 @@ m_editingCommand->deletePoint(m_editingPoint); } - m_editingCommand->finish(); + finish(m_editingCommand); m_editingCommand = 0; m_editing = false; } @@ -635,7 +635,7 @@ ImageModel::EditCommand *command = new ImageModel::EditCommand(m_model, "Add Image"); command->addPoint(point); - command->finish(); + finish(command); return true; } @@ -654,7 +654,7 @@ m_originalPoint = m_editingPoint; if (m_editingCommand) { - m_editingCommand->finish(); + finish(m_editingCommand); m_editingCommand = 0; } @@ -688,7 +688,7 @@ if (!m_model || !m_editing) return; if (m_editingCommand) { - m_editingCommand->finish(); + finish(m_editingCommand); } m_editingCommand = 0; @@ -746,7 +746,7 @@ } } - command->finish(); + finish(command); } void @@ -780,7 +780,7 @@ } } - command->finish(); + finish(command); } void @@ -799,7 +799,7 @@ if (s.contains(i->frame)) command->deletePoint(*i); } - command->finish(); + finish(command); } void @@ -885,7 +885,7 @@ command->addPoint(newPoint); } - command->finish(); + finish(command); return true; }