summaryrefslogtreecommitdiff
path: root/gui/apitracecall.h
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-03-24 07:44:43 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-03-24 07:44:43 +0000
commit8759ae0a429088d4d1e54b6c0c205e8058150245 (patch)
treeddad1a8ea1d61542f4976fc399b8d3dbf085f036 /gui/apitracecall.h
parent6bfa32f560b5d299ad9cdeb6bbbabf6497750c9f (diff)
Avoid QImage object copies by using references.
Diffstat (limited to 'gui/apitracecall.h')
-rw-r--r--gui/apitracecall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/apitracecall.h b/gui/apitracecall.h
index 8d0e6db7..945ab0cb 100644
--- a/gui/apitracecall.h
+++ b/gui/apitracecall.h
@@ -336,8 +336,8 @@ public:
void setLastCallIndex(unsigned index);
unsigned lastCallIndex() const;
- void setThumbnail(QImage thumbnail);
- QImage thumbnail() const;
+ void setThumbnail(const QImage & thumbnail);
+ const QImage & thumbnail() const;
private:
ApiTrace *m_parentTrace;