forked from qt-creator/qt-creator
ConsoleItem: Return copy of QString instead of ref
Change-Id: Ibe8d5aa103c2fd4c40fe4be8445e49ca822049a3 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
@@ -144,7 +144,7 @@ void ConsoleItem::setText(const QString &text)
|
||||
}
|
||||
}
|
||||
|
||||
const QString &ConsoleItem::text() const
|
||||
QString ConsoleItem::text() const
|
||||
{
|
||||
return m_text;
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ public:
|
||||
bool detachChild(int position);
|
||||
int childNumber() const;
|
||||
void setText(const QString &text);
|
||||
const QString &text() const;
|
||||
QString text() const;
|
||||
QString expression() const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user