diff --git a/src/libtomahawk/playlist/ColumnViewPreviewWidget.ui b/src/libtomahawk/playlist/ColumnViewPreviewWidget.ui index 6e578499a..d49867b7d 100644 --- a/src/libtomahawk/playlist/ColumnViewPreviewWidget.ui +++ b/src/libtomahawk/playlist/ColumnViewPreviewWidget.ui @@ -7,7 +7,7 @@ 0 0 300 - 500 + 488 @@ -19,7 +19,7 @@ 300 - 500 + 488 @@ -340,8 +340,8 @@ - 17 - 15 + 20 + 8 diff --git a/src/libtomahawk/playlist/PlayableModel.cpp b/src/libtomahawk/playlist/PlayableModel.cpp index 5508db4ae..40d3f38b7 100644 --- a/src/libtomahawk/playlist/PlayableModel.cpp +++ b/src/libtomahawk/playlist/PlayableModel.cpp @@ -904,6 +904,7 @@ PlayableModel::onDataChanged() void PlayableModel::startLoading() { + tDebug() << Q_FUNC_INFO; Q_D( PlayableModel ); d->loading = true; emit loadingStarted(); @@ -913,6 +914,7 @@ PlayableModel::startLoading() void PlayableModel::finishLoading() { + tDebug() << Q_FUNC_INFO; Q_D( PlayableModel ); d->loading = false; emit loadingFinished(); diff --git a/src/tomahawk/widgets/AccountListWidget.cpp b/src/tomahawk/widgets/AccountListWidget.cpp index f0d983a94..7414d86f1 100644 --- a/src/tomahawk/widgets/AccountListWidget.cpp +++ b/src/tomahawk/widgets/AccountListWidget.cpp @@ -83,6 +83,7 @@ AccountListWidget::AccountListWidget( AccountModelFactoryProxy* model, QWidget* updateToggleOnlineStateButton(); } + void AccountListWidget::updateEntries( const QModelIndex& topLeft, const QModelIndex& bottomRight ) { @@ -105,6 +106,7 @@ AccountListWidget::updateEntries( const QModelIndex& topLeft, const QModelIndex& } } + void AccountListWidget::updateEntry( const QPersistentModelIndex& idx ) { @@ -114,6 +116,7 @@ AccountListWidget::updateEntry( const QPersistentModelIndex& idx ) } } + void AccountListWidget::loadAllEntries() { @@ -132,6 +135,7 @@ AccountListWidget::loadAllEntries() insertEntries( QModelIndex(), 0, rc - 1 ); } + void AccountListWidget::insertEntries( const QModelIndex& parent, int start, int end ) { @@ -160,6 +164,7 @@ AccountListWidget::insertEntries( const QModelIndex& parent, int start, int end } } + void AccountListWidget::removeEntries( const QModelIndex& parent, int start, int end ) { @@ -191,9 +196,11 @@ AccountListWidget::removeEntries( const QModelIndex& parent, int start, int end qobject_cast< QWidget* >( QWidget::parent() )->adjustSize(); } + void AccountListWidget::toggleOnlineStateForAll() { + tDebug() << Q_FUNC_INFO; bool newState = !m_toggleOnlineButtonState; foreach ( QList< AccountWidget* > awgts, m_entries ) { @@ -204,6 +211,7 @@ AccountListWidget::toggleOnlineStateForAll() } } + void AccountListWidget::updateToggleOnlineStateButton() { @@ -223,6 +231,7 @@ AccountListWidget::updateToggleOnlineStateButton() if ( newState != m_toggleOnlineButtonState ) { + tDebug() << Q_FUNC_INFO; m_toggleOnlineButtonState = newState; if ( newState ) Tomahawk::Accounts::AccountManager::instance()->connectAll(); diff --git a/src/tomahawk/widgets/AccountWidget.cpp b/src/tomahawk/widgets/AccountWidget.cpp index 9f7d9c424..35ac1c41f 100644 --- a/src/tomahawk/widgets/AccountWidget.cpp +++ b/src/tomahawk/widgets/AccountWidget.cpp @@ -27,6 +27,7 @@ #include "utils/TomahawkStyle.h" #include "utils/TomahawkUtilsGui.h" #include "utils/AnimatedSpinner.h" +#include "utils/Logger.h" #include "widgets/ElidedLabel.h" #include "jobview/JobStatusView.h" @@ -187,8 +188,8 @@ AccountWidget::update( const QPersistentModelIndex& idx, int accountIdx ) if ( account->enabled() ) m_statusToggle->setChecked( true ); else - qDebug() << "AccountWidget warning:" << account->accountFriendlyName() - << "is Connected but Disabled!"; + tDebug() << "AccountWidget warning:" << account->accountFriendlyName() + << "is Connected but Disabled!"; m_spinner->fadeOut(); m_statusToggle->setBackChecked( true ); setInviteWidgetsEnabled( true ); @@ -198,8 +199,8 @@ AccountWidget::update( const QPersistentModelIndex& idx, int accountIdx ) case Tomahawk::Accounts::Account::Connecting: { if ( !account->enabled() ) - qDebug() << "AccountWidget warning:" << account->accountFriendlyName() - << "is Connecting but Disabled!"; + tDebug() << "AccountWidget warning:" << account->accountFriendlyName() + << "is Connecting but Disabled!"; m_spinner->fadeIn(); m_statusToggle->setBackChecked( false ); setInviteWidgetsEnabled( false ); @@ -211,8 +212,8 @@ AccountWidget::update( const QPersistentModelIndex& idx, int accountIdx ) if ( !account->enabled() ) m_statusToggle->setChecked( false ); else - qDebug() << "AccountWidget warning:" << account->accountFriendlyName() - << "is Disconnected but Enabled!"; + tDebug() << "AccountWidget warning:" << account->accountFriendlyName() + << "is Disconnected but Enabled!"; m_spinner->fadeOut(); m_statusToggle->setBackChecked( false ); setInviteWidgetsEnabled( false ); @@ -222,8 +223,8 @@ AccountWidget::update( const QPersistentModelIndex& idx, int accountIdx ) case Tomahawk::Accounts::Account::Disconnecting: { if ( account->enabled() ) - qDebug() << "AccountWidget warning:" << account->accountFriendlyName() - << "is Disconnecting but Enabled!"; + tDebug() << "AccountWidget warning:" << account->accountFriendlyName() + << "is Disconnecting but Enabled!"; m_spinner->fadeIn(); m_statusToggle->setBackChecked( true ); setInviteWidgetsEnabled( false );