Zigzag auto scroll function. Bug (runtime warning) fix.

This commit is contained in:
Daisuke Cato 2016-10-14 20:33:29 +09:00
parent 7896949a0d
commit e4365dadce

View File

@ -119,10 +119,10 @@ zoom(100)
verticalScroller = new QPropertyAnimation(verticalScrollBar(), "sliderPosition");
connect(verticalScroller,SIGNAL(valueChanged (const QVariant &)),this,SIGNAL(backgroundChanges()));
horizontalScroller = new QPropertyAnimation(horizontalScrollBar(), "sliderPosition");
connect(horizontalScroller,SIGNAL(valueChanged (const QVariant &)),this,SIGNAL(backgroundChanges()));
groupScroller = new QParallelAnimationGroup();
groupScroller->addAnimation(verticalScroller);
groupScroller->addAnimation(horizontalScroller);
connect(groupScroller,SIGNAL(valueChanged (const QVariant &)),this,SIGNAL(backgroundChanges()));
notificationsLabel = new NotificationsLabelWidget(this);
notificationsLabel->hide();