fillText = " *** ";
oneshot = true;
timer = new QTimer(this);
- timer->setInterval(20);
+ timer->setInterval(25);
connect(timer, SIGNAL(timeout()), this, SLOT(updateOffset()));
connect(this, SIGNAL(clicked()), this, SLOT(startScrolling()));
}
}
void TopicBar::updateOffset() {
- offset++;
+ offset+=1;
if(offset >= secondTextStart) {
offset = 0;
if(oneshot) timer->stop(); // only scroll once!