summaryrefslogtreecommitdiffstats
path: root/profile-widget/ruleritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/ruleritem.cpp')
-rw-r--r--profile-widget/ruleritem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/profile-widget/ruleritem.cpp b/profile-widget/ruleritem.cpp
index 0bcebc4d4..c7b82a3c6 100644
--- a/profile-widget/ruleritem.cpp
+++ b/profile-widget/ruleritem.cpp
@@ -152,11 +152,11 @@ RulerNodeItem2 *RulerItem2::destNode() const
return dest;
}
-void RulerItem2::setPlotInfo(plot_info info)
+void RulerItem2::setPlotInfo(plot_info *info)
{
- pInfo = info;
- dest->setPlotInfo(info);
- source->setPlotInfo(info);
+ pInfo = *info;
+ dest->setPlotInfo(*info);
+ source->setPlotInfo(*info);
dest->recalculate();
source->recalculate();
recalculate();