mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
SlideShow: slow down the slide interval
The original non-animated slide show was running at 2500ms interval. The new animated slide show was using the same interval, but used 1000ms to animate the slides. This left significantly less time for the user to read the slides.
This commit is contained in:
parent
371001c9ff
commit
8217c44ee5
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ OwncloudSetupPage::OwncloudSetupPage(QWidget *parent)
|
|||
_ui.slideShow->addSlide(Theme::hidpiFileName(":/client/theme/colored/wizard-groupware.png"), tr("Easy-to-use web mail, calendaring & contacts"));
|
||||
_ui.slideShow->addSlide(Theme::hidpiFileName(":/client/theme/colored/wizard-talk.png"), tr("Screensharing, online meetings & web conferences"));
|
||||
connect(_ui.slideShow, &SlideShow::clicked, _ui.slideShow, &SlideShow::nextSlide);
|
||||
_ui.slideShow->startShow(2500);
|
||||
_ui.slideShow->startShow();
|
||||
|
||||
QPalette pal = _ui.slideShow->palette();
|
||||
pal.setColor(QPalette::WindowText, theme->wizardHeaderBackgroundColor());
|
||||
|
|
|
@ -69,7 +69,7 @@ private:
|
|||
void drawSlide(QPainter *painter, int index);
|
||||
|
||||
bool _reverse = false;
|
||||
int _interval = 2500;
|
||||
int _interval = 3500;
|
||||
int _currentIndex = 0;
|
||||
QPoint _pressPoint;
|
||||
QBasicTimer _timer;
|
||||
|
|
Loading…
Reference in a new issue