summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/CompositionItemImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/CompositionItemImpl.cpp')
-rw-r--r--src/gui/editors/segment/segmentcanvas/CompositionItemImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/CompositionItemImpl.cpp b/src/gui/editors/segment/segmentcanvas/CompositionItemImpl.cpp
index 12984a0..76cbe70 100644
--- a/src/gui/editors/segment/segmentcanvas/CompositionItemImpl.cpp
+++ b/src/gui/editors/segment/segmentcanvas/CompositionItemImpl.cpp
@@ -48,7 +48,7 @@ CompositionItemImpl::CompositionItemImpl(Segment& s, const CompositionRect& rect
TQRect CompositionItemImpl::rect() const
{
- TQRect res = m_rect;
+ TQRect res = static_cast<const TQRect&>(m_rect);
if (m_rect.isRepeating()) {
CompositionRect::repeatmarks repeatMarks = m_rect.getRepeatMarks();
int neww = m_rect.getBaseWidth();