From e4365dadce3e2b847c4d79e705b77be68c161412 Mon Sep 17 00:00:00 2001 From: Daisuke Cato Date: Fri, 14 Oct 2016 20:33:29 +0900 Subject: [PATCH] Zigzag auto scroll function. Bug (runtime warning) fix. --- YACReader/viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReader/viewer.cpp b/YACReader/viewer.cpp index 748f7d19..d39dafc7 100644 --- a/YACReader/viewer.cpp +++ b/YACReader/viewer.cpp @@ -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();