Revert r1344 (the timer tracing), it didn't help

This commit is contained in:
David Sansome 2010-06-25 22:04:24 +00:00
parent b423350208
commit 2b17a8ee1f
14 changed files with 1 additions and 28 deletions

View File

@ -218,7 +218,6 @@ Analyzer::initSin( Scope &v, const uint size ) //static
}
void Analyzer::Base::timerEvent(QTimerEvent* e) {
qDebug() << __PRETTY_FUNCTION__;
QWidget::timerEvent(e);
if (e->timerId() != m_timer.timerId())
return;

View File

@ -86,7 +86,6 @@ void AnalyzerContainer::mouseReleaseEvent(QMouseEvent* e) {
}
void AnalyzerContainer::ShowPopupMenu() {
qDebug() << __PRETTY_FUNCTION__;
context_menu_->popup(last_click_pos_);
}

View File

@ -72,7 +72,6 @@ void AlbumCoverFetcher::Clear() {
}
void AlbumCoverFetcher::StartRequests() {
qDebug() << __PRETTY_FUNCTION__;
if (queued_requests_.isEmpty()) {
request_starter_->stop();
return;

View File

@ -21,7 +21,6 @@
#include <QFileInfo>
#include <QTimer>
#include <QThread>
#include <QtDebug>
const int Organise::kBatchSize = 10;
@ -56,8 +55,6 @@ void Organise::Start() {
}
void Organise::ProcessSomeFiles() {
qDebug() << __PRETTY_FUNCTION__;
// None left?
if (progress_ >= files_.count()) {
task_manager_->SetTaskFinished(task_id_);

View File

@ -357,7 +357,6 @@ void SongLoader::AddAsRawStream() {
}
void SongLoader::Timeout() {
qDebug() << __PRETTY_FUNCTION__;
state_ = Finished;
success_ = false;
StopTypefind();

View File

@ -561,8 +561,6 @@ void GstEngine::Seek(uint ms) {
}
void GstEngine::SeekNow() {
qDebug() << __PRETTY_FUNCTION__;
if (!waiting_to_seek_) return;
waiting_to_seek_ = false;
@ -598,8 +596,6 @@ void GstEngine::SetVolumeSW( uint percent ) {
void GstEngine::timerEvent( QTimerEvent* ) {
qDebug() << __PRETTY_FUNCTION__;
// keep the scope from building while we are not visible
// this is why the timer must run as long as we are playing, and not just when
// we are fading

View File

@ -437,8 +437,6 @@ void GstEnginePipeline::FaderTimelineFinished() {
}
void GstEnginePipeline::timerEvent(QTimerEvent* e) {
qDebug() << __PRETTY_FUNCTION__;
if (e->timerId() == fader_fudge_timer_.timerId()) {
fader_fudge_timer_.stop();
emit FaderFinished();

View File

@ -396,8 +396,6 @@ void LibraryWatcher::DirectoryChanged(const QString &subdir) {
}
void LibraryWatcher::RescanPathsNow() {
qDebug() << __PRETTY_FUNCTION__;
foreach (int dir, rescan_queue_.keys()) {
if (stop_requested_) return;
ScanTransaction transaction(this, dir, false);

View File

@ -260,8 +260,6 @@ void PlaylistView::InvalidateCachedCurrentPixmap() {
}
void PlaylistView::timerEvent(QTimerEvent* event) {
qDebug() << __PRETTY_FUNCTION__;
QTreeView::timerEvent(event);
if (event->timerId() == glow_timer_.timerId())
GlowIntensityChanged();
@ -425,8 +423,6 @@ void PlaylistView::scrollContentsBy(int dx, int dy) {
}
void PlaylistView::InhibitAutoscrollTimeout() {
qDebug() << __PRETTY_FUNCTION__;
// For 1 minute after the user clicks on or scrolls the playlist we promise
// not to automatically scroll the view to keep up with a track change.
inhibit_autoscroll_ = false;

View File

@ -785,8 +785,6 @@ void MainWindow::FilePathChanged(const QString& path) {
}
void MainWindow::UpdateTrackPosition() {
qDebug() << __PRETTY_FUNCTION__;
// Track position in seconds
const int position = std::floor(float(player_->GetEngine()->position()) / 1000.0 + 0.5);
const int length = player_->GetCurrentItem()->Metadata().length();

View File

@ -19,6 +19,7 @@
#include "projectmvisualisation.h"
#include "visualisationcontainer.h"
#include <QTimerEvent>
#include <QPainter>
#include <QPaintEngine>
#include <QtDebug>

View File

@ -169,8 +169,6 @@ void VisualisationContainer::SizeChanged() {
}
void VisualisationContainer::timerEvent(QTimerEvent* e) {
qDebug() << __PRETTY_FUNCTION__;
QGraphicsView::timerEvent(e);
if (e->timerId() == update_timer_.timerId())
scene()->update();

View File

@ -65,8 +65,6 @@ void VisualisationOverlay::ShowSettingsMenu() {
}
void VisualisationOverlay::timerEvent(QTimerEvent* e) {
qDebug() << __PRETTY_FUNCTION__;
QWidget::timerEvent(e);
if (e->timerId() == fade_out_timeout_.timerId()) {

View File

@ -31,7 +31,6 @@
#include <QWheelEvent>
#include <QMouseEvent>
#include <QStyleOptionSlider>
#include <QtDebug>
Amarok::Slider::Slider( Qt::Orientation orientation, QWidget *parent, uint max )
@ -264,8 +263,6 @@ Amarok::VolumeSlider::generateGradient()
void
Amarok::VolumeSlider::slotAnimTimer() //SLOT
{
qDebug() << __PRETTY_FUNCTION__;
if ( m_animEnter ) {
m_animCount++;
update();