summaryrefslogtreecommitdiffstats
path: root/tests/arthur
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond.kjernasen@nokia.com>2010-09-03 11:35:58 (GMT)
committerTrond Kjernåsen <trond.kjernasen@nokia.com>2010-09-03 11:35:58 (GMT)
commit22293fb1c19e7ff7c8f3bec8c97729fb2816c96d (patch)
treea1cdbc38875da0c95c3eddcd6b71f26080f01e99 /tests/arthur
parentfe97cdb508697140ebbba8d73097fdd9e5b44bf4 (diff)
downloadQt-22293fb1c19e7ff7c8f3bec8c97729fb2816c96d.zip
Qt-22293fb1c19e7ff7c8f3bec8c97729fb2816c96d.tar.gz
Qt-22293fb1c19e7ff7c8f3bec8c97729fb2816c96d.tar.bz2
engineAsString() should've been const.
Diffstat (limited to 'tests/arthur')
-rw-r--r--tests/arthur/common/baselineprotocol.cpp2
-rw-r--r--tests/arthur/common/baselineprotocol.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/arthur/common/baselineprotocol.cpp b/tests/arthur/common/baselineprotocol.cpp
index 881c9cc..790b749 100644
--- a/tests/arthur/common/baselineprotocol.cpp
+++ b/tests/arthur/common/baselineprotocol.cpp
@@ -44,7 +44,7 @@ quint64 ImageItem::computeChecksum(const QImage &image)
return qChecksum((const char *)image.constScanLine(50), image.bytesPerLine());
}
-QString ImageItem::engineAsString()
+QString ImageItem::engineAsString() const
{
switch (engine) {
case Raster:
diff --git a/tests/arthur/common/baselineprotocol.h b/tests/arthur/common/baselineprotocol.h
index 70cb227..9ec1ef4 100644
--- a/tests/arthur/common/baselineprotocol.h
+++ b/tests/arthur/common/baselineprotocol.h
@@ -31,7 +31,7 @@ public:
{}
ImageItem &operator=(const ImageItem &other);
static quint64 computeChecksum(const QImage& image);
- QString engineAsString();
+ QString engineAsString() const;
enum ItemStatus {
Ok = 0,