aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result/stringresult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'result/stringresult.cpp')
-rw-r--r--result/stringresult.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/result/stringresult.cpp b/result/stringresult.cpp
index 201d1f3..d36dfc7 100644
--- a/result/stringresult.cpp
+++ b/result/stringresult.cpp
@@ -103,3 +103,8 @@ Result* StringResult::getCopy() const
std::for_each(m_value.begin(), m_value.end(), [copy](const QString& str) { copy->addText(str); });
return copy;
}
+
+QString StringResult::getStringResult() const
+{
+ return getText();
+}