Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
@@ -39,8 +39,7 @@
|
||||
namespace LtsTimelineClassic
|
||||
{
|
||||
|
||||
TimelineIndicator::TimelineIndicator(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
TimelineIndicator::TimelineIndicator(QWidget *parent) : QWidget(parent)
|
||||
, m_zoomFactorPoints(0)
|
||||
, m_pbZoom(new QPushButton(this))
|
||||
, m_pbUnzoom(new QPushButton(this))
|
||||
@@ -49,8 +48,8 @@ TimelineIndicator::TimelineIndicator(QWidget *parent)
|
||||
, m_currentTextWidth(0)
|
||||
, m_sectionPos(0)
|
||||
, m_sectionSize(0)
|
||||
.getNGLLogger("Timeline.Indicator"))
|
||||
{
|
||||
.getNGLLogger("Timeline.Indicator")),
|
||||
m_logger(NGL::NGLLoggerBootstrap::getLogger()) {
|
||||
m_timeArray.reserve(11 + 11 + 7 + 10);
|
||||
|
||||
m_timeArray <<
|
||||
@@ -380,7 +379,7 @@ void TimelineIndicator::refreshData()
|
||||
|
||||
if (steps > 60000 || steps < 1)
|
||||
{
|
||||
ERROR_LOG() << "More than 60000 ("<<steps<<") or less than 1 lines to draw. Loop will exit after 60000 lines.";
|
||||
ERROR_LOG(m_logger) << "More than 60000 ("<<steps<<") or less than 1 lines to draw. Loop will exit after 60000 lines.";
|
||||
}
|
||||
|
||||
if (steps < 1)
|
||||
@@ -474,7 +473,7 @@ void TimelineIndicator::paintEvent(QPaintEvent *)
|
||||
DTG::toStringMSec(time, DTG::Short));
|
||||
|
||||
#ifdef VERBOSE
|
||||
WARNING_LOG() << "paintEvent: actual drawing position: x=" << centeredPos << " y=" << textY;
|
||||
WARNING_LOG(m_logger) << "paintEvent: actual drawing position: x=" << centeredPos << " y=" << textY;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user