]> git.sur5r.net Git - minitube/commitdiff
Demo tweaks
authorFlavio <flavio@odisseo.local>
Thu, 3 Mar 2011 13:52:23 +0000 (14:52 +0100)
committerFlavio <flavio@odisseo.local>
Thu, 3 Mar 2011 13:52:23 +0000 (14:52 +0100)
src/MediaView.cpp

index b98ee3cdd1c626ba7f88b9d0d4cd98b711cae93f..4d5192fc1d65d1683fd1359870aef4ec44b303ef 100644 (file)
@@ -124,7 +124,7 @@ MediaView::MediaView(QWidget *parent) : QWidget(parent) {
 #ifdef APP_DEMO
     demoTimer = new QTimer(this);
     demoTimer->setSingleShot(true);
-    demoTimer->setInterval(30000);
+    demoTimer->setInterval(60000);
     connect(demoTimer, SIGNAL(timeout()), SLOT(demoMessage()));
 #endif
 
@@ -607,7 +607,7 @@ void MediaView::demoMessage() {
         QDesktopServices::openUrl(QString(Constants::WEBSITE) + "#download");
     } else {
         mediaObject->play();
-        demoTimer->start();
+        demoTimer->start(300000);
     }
 }
 #endif