summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger/qmlcanvasdebugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/debugger/qmlcanvasdebugger.cpp')
-rw-r--r--src/declarative/debugger/qmlcanvasdebugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/debugger/qmlcanvasdebugger.cpp b/src/declarative/debugger/qmlcanvasdebugger.cpp
index fe57bf4..21abd2d 100644
--- a/src/declarative/debugger/qmlcanvasdebugger.cpp
+++ b/src/declarative/debugger/qmlcanvasdebugger.cpp
@@ -76,7 +76,7 @@ QmlCanvasDebugger::QmlCanvasDebugger(QmlWatches *w, QWidget *parent)
QObject::connect(y, SIGNAL(valueChanged(int)), this, SLOT(setY(int)));
hlayout->addWidget(x);
hlayout->addWidget(y);
- QPushButton *pb = new QPushButton("Refresh", this);
+ QPushButton *pb = new QPushButton(tr("Refresh"), this);
QObject::connect(pb, SIGNAL(clicked()), this, SLOT(refresh()));
hlayout->addWidget(pb);
@@ -233,7 +233,7 @@ void QmlCanvasDebugger::setCanvas(QSimpleCanvas *canvas)
return;
QTreeWidgetItem *root = new QmlCanvasDebuggerItem(m_tree);
- root->setText(0, "Root");
+ root->setText(0, tr("Root"));
root->setExpanded(true);
clone(root, m_canvasRoot, m_debugCanvas->root());
}