on xenial help sign in
Added a comment.
d8dd84dPawel Stolowski
plugins/Unity/result.h+3
@@ -58,6 +58,9 @@ public:
58 QVariant metadata() const;
58 QVariant metadata() const;
59
59
60private:
60private:
61+ /* Keep reference to the original preview to access result attributes via it, rather than keeping copies of them;
62+ this will save us a bit on copying, especially as UI is mostly interested in just uri.
63+ */
61 unity::dash::Preview::Ptr m_preview;
64 unity::dash::Preview::Ptr m_preview;
62};
65};
63
66