mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 03:49:20 +03:00
commit
778489d445
3 changed files with 3 additions and 3 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());
|
||||
|
|
|
@ -138,7 +138,7 @@ void SlideShow::mousePressEvent(QMouseEvent *event)
|
|||
|
||||
void SlideShow::mouseReleaseEvent(QMouseEvent *event)
|
||||
{
|
||||
if (QLineF(_pressPoint, event->pos()).length() < QGuiApplication::styleHints()->startDragDistance())
|
||||
if (!_animation && QLineF(_pressPoint, event->pos()).length() < QGuiApplication::styleHints()->startDragDistance())
|
||||
emit clicked();
|
||||
}
|
||||
|
||||
|
|
|
@ -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