diff --git a/src/frontends/qt/GuiApplication.cpp b/src/frontends/qt/GuiApplication.cpp index 37623cbc60..082ca57444 100644 --- a/src/frontends/qt/GuiApplication.cpp +++ b/src/frontends/qt/GuiApplication.cpp @@ -2326,7 +2326,7 @@ QRectF GuiApplication::baseInputItemRectangle() } -void GuiApplication::setBaseInputItemRectangle(QRectF rect) +void GuiApplication::setBaseInputItemRectangle(QRectF const & rect) { d->item_rect_base_ = rect; } @@ -2338,7 +2338,7 @@ QTransform GuiApplication::baseInputItemTransform() } -void GuiApplication::setBaseInputItemTransform(QTransform trans) +void GuiApplication::setBaseInputItemTransform(QTransform const & trans) { d->item_trans_base_ = trans; } diff --git a/src/frontends/qt/GuiApplication.h b/src/frontends/qt/GuiApplication.h index 239a7e8a02..fa11a72b9e 100644 --- a/src/frontends/qt/GuiApplication.h +++ b/src/frontends/qt/GuiApplication.h @@ -192,11 +192,11 @@ public: /// input item rectangle of the base view QRectF baseInputItemRectangle(); /// set input item rectangle of the base view - void setBaseInputItemRectangle(QRectF rect); + void setBaseInputItemRectangle(QRectF const & rect); /// input item transform of the base view QTransform baseInputItemTransform(); /// set input item transform of the base view - void setBaseInputItemTransform(QTransform trans); + void setBaseInputItemTransform(QTransform const & trans); /// \name Methods to process FuncRequests //@{