Skip to content

Commit

Permalink
Fix for issue #36
Browse files Browse the repository at this point in the history
  • Loading branch information
markummitchell-tu committed Nov 5, 2015
1 parent 4466461 commit 66a1d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Segment/SegmentLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SegmentLine::SegmentLine(QGraphicsScene &scene,
m_segment (segment)
{
LOG4CPP_DEBUG_S ((*mainCat)) << "SegmentLine::SegmentLine"
<< " address=0x" << std::hex << (unsigned long) this;
<< " address=0x" << std::hex << (qintptr) this;

setData (DATA_KEY_GRAPHICS_ITEM_TYPE, QVariant (GRAPHICS_ITEM_TYPE_SEGMENT));

Expand All @@ -35,7 +35,7 @@ SegmentLine::SegmentLine(QGraphicsScene &scene,
SegmentLine::~SegmentLine ()
{
LOG4CPP_DEBUG_S ((*mainCat)) << "SegmentLine::~SegmentLine"
<< " address=0x" << std::hex << (unsigned long) this;
<< " address=0x" << std::hex << (qintptr) this;
}

void SegmentLine::hoverEnterEvent(QGraphicsSceneHoverEvent * /* event */)
Expand Down

0 comments on commit 66a1d87

Please sign in to comment.