Revert r1344 (the timer tracing), it didn't help
This commit is contained in:
parent
b423350208
commit
2b17a8ee1f
|
@ -218,7 +218,6 @@ Analyzer::initSin( Scope &v, const uint size ) //static
|
||||||
}
|
}
|
||||||
|
|
||||||
void Analyzer::Base::timerEvent(QTimerEvent* e) {
|
void Analyzer::Base::timerEvent(QTimerEvent* e) {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
QWidget::timerEvent(e);
|
QWidget::timerEvent(e);
|
||||||
if (e->timerId() != m_timer.timerId())
|
if (e->timerId() != m_timer.timerId())
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -86,7 +86,6 @@ void AnalyzerContainer::mouseReleaseEvent(QMouseEvent* e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnalyzerContainer::ShowPopupMenu() {
|
void AnalyzerContainer::ShowPopupMenu() {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
context_menu_->popup(last_click_pos_);
|
context_menu_->popup(last_click_pos_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,6 @@ void AlbumCoverFetcher::Clear() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AlbumCoverFetcher::StartRequests() {
|
void AlbumCoverFetcher::StartRequests() {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
if (queued_requests_.isEmpty()) {
|
if (queued_requests_.isEmpty()) {
|
||||||
request_starter_->stop();
|
request_starter_->stop();
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
const int Organise::kBatchSize = 10;
|
const int Organise::kBatchSize = 10;
|
||||||
|
|
||||||
|
@ -56,8 +55,6 @@ void Organise::Start() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Organise::ProcessSomeFiles() {
|
void Organise::ProcessSomeFiles() {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
// None left?
|
// None left?
|
||||||
if (progress_ >= files_.count()) {
|
if (progress_ >= files_.count()) {
|
||||||
task_manager_->SetTaskFinished(task_id_);
|
task_manager_->SetTaskFinished(task_id_);
|
||||||
|
|
|
@ -357,7 +357,6 @@ void SongLoader::AddAsRawStream() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SongLoader::Timeout() {
|
void SongLoader::Timeout() {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
state_ = Finished;
|
state_ = Finished;
|
||||||
success_ = false;
|
success_ = false;
|
||||||
StopTypefind();
|
StopTypefind();
|
||||||
|
|
|
@ -561,8 +561,6 @@ void GstEngine::Seek(uint ms) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GstEngine::SeekNow() {
|
void GstEngine::SeekNow() {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
if (!waiting_to_seek_) return;
|
if (!waiting_to_seek_) return;
|
||||||
waiting_to_seek_ = false;
|
waiting_to_seek_ = false;
|
||||||
|
|
||||||
|
@ -598,8 +596,6 @@ void GstEngine::SetVolumeSW( uint percent ) {
|
||||||
|
|
||||||
|
|
||||||
void GstEngine::timerEvent( QTimerEvent* ) {
|
void GstEngine::timerEvent( QTimerEvent* ) {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
// keep the scope from building while we are not visible
|
// 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
|
// this is why the timer must run as long as we are playing, and not just when
|
||||||
// we are fading
|
// we are fading
|
||||||
|
|
|
@ -437,8 +437,6 @@ void GstEnginePipeline::FaderTimelineFinished() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GstEnginePipeline::timerEvent(QTimerEvent* e) {
|
void GstEnginePipeline::timerEvent(QTimerEvent* e) {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
if (e->timerId() == fader_fudge_timer_.timerId()) {
|
if (e->timerId() == fader_fudge_timer_.timerId()) {
|
||||||
fader_fudge_timer_.stop();
|
fader_fudge_timer_.stop();
|
||||||
emit FaderFinished();
|
emit FaderFinished();
|
||||||
|
|
|
@ -396,8 +396,6 @@ void LibraryWatcher::DirectoryChanged(const QString &subdir) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void LibraryWatcher::RescanPathsNow() {
|
void LibraryWatcher::RescanPathsNow() {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
foreach (int dir, rescan_queue_.keys()) {
|
foreach (int dir, rescan_queue_.keys()) {
|
||||||
if (stop_requested_) return;
|
if (stop_requested_) return;
|
||||||
ScanTransaction transaction(this, dir, false);
|
ScanTransaction transaction(this, dir, false);
|
||||||
|
|
|
@ -260,8 +260,6 @@ void PlaylistView::InvalidateCachedCurrentPixmap() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlaylistView::timerEvent(QTimerEvent* event) {
|
void PlaylistView::timerEvent(QTimerEvent* event) {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
QTreeView::timerEvent(event);
|
QTreeView::timerEvent(event);
|
||||||
if (event->timerId() == glow_timer_.timerId())
|
if (event->timerId() == glow_timer_.timerId())
|
||||||
GlowIntensityChanged();
|
GlowIntensityChanged();
|
||||||
|
@ -425,8 +423,6 @@ void PlaylistView::scrollContentsBy(int dx, int dy) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlaylistView::InhibitAutoscrollTimeout() {
|
void PlaylistView::InhibitAutoscrollTimeout() {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
// For 1 minute after the user clicks on or scrolls the playlist we promise
|
// 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.
|
// not to automatically scroll the view to keep up with a track change.
|
||||||
inhibit_autoscroll_ = false;
|
inhibit_autoscroll_ = false;
|
||||||
|
|
|
@ -785,8 +785,6 @@ void MainWindow::FilePathChanged(const QString& path) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::UpdateTrackPosition() {
|
void MainWindow::UpdateTrackPosition() {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
// Track position in seconds
|
// Track position in seconds
|
||||||
const int position = std::floor(float(player_->GetEngine()->position()) / 1000.0 + 0.5);
|
const int position = std::floor(float(player_->GetEngine()->position()) / 1000.0 + 0.5);
|
||||||
const int length = player_->GetCurrentItem()->Metadata().length();
|
const int length = player_->GetCurrentItem()->Metadata().length();
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include "projectmvisualisation.h"
|
#include "projectmvisualisation.h"
|
||||||
#include "visualisationcontainer.h"
|
#include "visualisationcontainer.h"
|
||||||
|
|
||||||
|
#include <QTimerEvent>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QPaintEngine>
|
#include <QPaintEngine>
|
||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
|
@ -169,8 +169,6 @@ void VisualisationContainer::SizeChanged() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void VisualisationContainer::timerEvent(QTimerEvent* e) {
|
void VisualisationContainer::timerEvent(QTimerEvent* e) {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
QGraphicsView::timerEvent(e);
|
QGraphicsView::timerEvent(e);
|
||||||
if (e->timerId() == update_timer_.timerId())
|
if (e->timerId() == update_timer_.timerId())
|
||||||
scene()->update();
|
scene()->update();
|
||||||
|
|
|
@ -65,8 +65,6 @@ void VisualisationOverlay::ShowSettingsMenu() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void VisualisationOverlay::timerEvent(QTimerEvent* e) {
|
void VisualisationOverlay::timerEvent(QTimerEvent* e) {
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
QWidget::timerEvent(e);
|
QWidget::timerEvent(e);
|
||||||
|
|
||||||
if (e->timerId() == fade_out_timeout_.timerId()) {
|
if (e->timerId() == fade_out_timeout_.timerId()) {
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#include <QWheelEvent>
|
#include <QWheelEvent>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
#include <QStyleOptionSlider>
|
#include <QStyleOptionSlider>
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
|
|
||||||
Amarok::Slider::Slider( Qt::Orientation orientation, QWidget *parent, uint max )
|
Amarok::Slider::Slider( Qt::Orientation orientation, QWidget *parent, uint max )
|
||||||
|
@ -264,8 +263,6 @@ Amarok::VolumeSlider::generateGradient()
|
||||||
void
|
void
|
||||||
Amarok::VolumeSlider::slotAnimTimer() //SLOT
|
Amarok::VolumeSlider::slotAnimTimer() //SLOT
|
||||||
{
|
{
|
||||||
qDebug() << __PRETTY_FUNCTION__;
|
|
||||||
|
|
||||||
if ( m_animEnter ) {
|
if ( m_animEnter ) {
|
||||||
m_animCount++;
|
m_animCount++;
|
||||||
update();
|
update();
|
||||||
|
|
Loading…
Reference in New Issue