From 60a0e524561ae86c9509c61b00a5d8ba40a1d7ee Mon Sep 17 00:00:00 2001 From: Renaud G Date: Wed, 1 Apr 2015 00:28:17 +0200 Subject: -Better understanding of validators toString method -return error if error have been detected for endless loop. -add listaliasnode.h/.cpp to the pri file -protect the use of pointer --- range.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'range.cpp') diff --git a/range.cpp b/range.cpp index 712590f..1f47c50 100644 --- a/range.cpp +++ b/range.cpp @@ -54,7 +54,7 @@ qint64 Range::hasValid(Die* m,bool recursive) const } QString Range::toString() { - return QString("Range_%1_%2").arg(m_start).arg(m_end); + return QString("[%1-%2]").arg(m_start).arg(m_end); } quint8 Range::getValidRangeSize(quint64 faces) const { -- cgit v1.2.3-70-g09d2