summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger/qmlcanvasdebugger.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-05-21 23:26:40 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-05-21 23:26:40 (GMT)
commit5a506eefe1ca8f654dcfc354f8ac39547510becf (patch)
tree20d3eedfd42b89c6f2b7ae0ce4f9ecf71dbabcf3 /src/declarative/debugger/qmlcanvasdebugger.cpp
parentcdd12bf1d4475ad23b49b5e27328bf6c738a0ab3 (diff)
downloadQt-5a506eefe1ca8f654dcfc354f8ac39547510becf.zip
Qt-5a506eefe1ca8f654dcfc354f8ac39547510becf.tar.gz
Qt-5a506eefe1ca8f654dcfc354f8ac39547510becf.tar.bz2
fix warnings
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());
}