From b2773acd3523b6eab81aff4e7eafac1661e5e227 Mon Sep 17 00:00:00 2001 From: tstellanova Date: Fri, 9 Aug 2013 07:17:17 -0700 Subject: [PATCH] fix typo --- src/ui/QGCParamWidget.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/QGCParamWidget.cc b/src/ui/QGCParamWidget.cc index a141ec4ea..025e68f5e 100644 --- a/src/ui/QGCParamWidget.cc +++ b/src/ui/QGCParamWidget.cc @@ -171,7 +171,7 @@ void QGCParamWidget::addComponentItem( int compId, QString compName) { QString compLine = QString("%1 (#%2)").arg(compName).arg(compId); - QString ptrStr.sprintf("%8p", this); + QString ptrStr = QString().sprintf("%8p", this); qDebug() << "QGCParamWidget" << ptrStr << "addComponentItem:" << compLine; if (componentItems->contains(compId)) { -- 2.22.0