From: Flavio Tordini Date: Wed, 16 Sep 2015 08:06:55 +0000 (+0200) Subject: Removed debug statements X-Git-Tag: 2.5~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dbb056a4cc72acdaa18762f75a76611c1c4a12d6;p=minitube Removed debug statements --- diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 81ef9ce..4375716 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1264,7 +1264,6 @@ void MainWindow::fullscreen() { } void MainWindow::updateUIForFullscreen() { - qDebug() << __PRETTY_FUNCTION__ << fullscreenFlag; static QList fsShortcuts; static QString fsText; diff --git a/src/mediaview.cpp b/src/mediaview.cpp index 0744321..da63f68 100644 --- a/src/mediaview.cpp +++ b/src/mediaview.cpp @@ -646,7 +646,7 @@ void MediaView::aboutToFinish() { #ifdef APP_PHONON qint64 currentTime = mediaObject->currentTime(); qint64 totalTime = mediaObject->totalTime(); - qDebug() << __PRETTY_FUNCTION__ << currentTime << totalTime; + // qDebug() << __PRETTY_FUNCTION__ << currentTime << totalTime; if (totalTime < 1 || currentTime + 10000 < totalTime) { // QTimer::singleShot(500, this, SLOT(playbackResume())); mediaObject->seek(currentTime); @@ -661,7 +661,7 @@ void MediaView::playbackFinished() { #ifdef APP_PHONON const qint64 totalTime = mediaObject->totalTime(); const qint64 currentTime = mediaObject->currentTime(); - qDebug() << __PRETTY_FUNCTION__ << mediaObject->currentTime() << totalTime; + // qDebug() << __PRETTY_FUNCTION__ << mediaObject->currentTime() << totalTime; // add 10 secs for imprecise Phonon backends (VLC, Xine) if (currentTime > 0 && currentTime + 10000 < totalTime) { // mediaObject->seek(currentTime); @@ -679,7 +679,7 @@ void MediaView::playbackResume() { if (stopped) return; #ifdef APP_PHONON const qint64 currentTime = mediaObject->currentTime(); - qDebug() << __PRETTY_FUNCTION__ << currentTime; + // qDebug() << __PRETTY_FUNCTION__ << currentTime; if (currentTime > 0) mediaObject->seek(currentTime); mediaObject->play(); diff --git a/src/paginatedvideosource.cpp b/src/paginatedvideosource.cpp index fe98ba6..115cf1f 100644 --- a/src/paginatedvideosource.cpp +++ b/src/paginatedvideosource.cpp @@ -41,7 +41,6 @@ PaginatedVideoSource::PaginatedVideoSource(QObject *parent) : VideoSource(parent , asyncDetails(false) { } bool PaginatedVideoSource::hasMoreVideos() { - qDebug() << __PRETTY_FUNCTION__ << nextPageToken; return !nextPageToken.isEmpty(); } diff --git a/src/playlistmodel.cpp b/src/playlistmodel.cpp index 7fa95cc..63cd6a3 100644 --- a/src/playlistmodel.cpp +++ b/src/playlistmodel.cpp @@ -216,7 +216,6 @@ void PlaylistModel::abortSearch() { } void PlaylistModel::searchFinished(int total) { - qDebug() << __PRETTY_FUNCTION__ << total; searching = false; canSearchMore = videoSource->hasMoreVideos();