diff document/Document.cpp @ 117:8089a394829a

* Add display of selection extents in status bar when dragging a selection * Some build fixes after that i18n update
author Chris Cannam
date Wed, 07 Mar 2007 18:00:49 +0000
parents 99d65ba33c88
children b4110b17bca8
line wrap: on
line diff
--- a/document/Document.cpp	Wed Mar 07 17:07:02 2007 +0000
+++ b/document/Document.cpp	Wed Mar 07 18:00:49 2007 +0000
@@ -26,6 +26,7 @@
 #include "base/PlayParameterRepository.h"
 #include "base/PlayParameters.h"
 #include "transform/TransformFactory.h"
+#include <QApplication>
 #include <iostream>
 
 //!!! still need to handle command history, documentRestored/documentModified
@@ -643,7 +644,7 @@
     m_d(d),
     m_view(view),
     m_layer(layer),
-    m_name(qApp->translate("Add %1 Layer").arg(layer->objectName())),
+    m_name(qApp->translate("AddLayerCommand", "Add %1 Layer").arg(layer->objectName())),
     m_added(false)
 {
 }
@@ -691,7 +692,7 @@
     m_d(d),
     m_view(view),
     m_layer(layer),
-    m_name(qApp->translate("Delete %1 Layer").arg(layer->objectName())),
+    m_name(qApp->translate("RemoveLayerCommand", "Delete %1 Layer").arg(layer->objectName())),
     m_added(true)
 {
 }