mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-22 00:42:04 +02:00
* Fixed incompatible signal/slot types.
This commit is contained in:
parent
61a99449f3
commit
42c0199f53
@ -508,7 +508,7 @@ Source::scanningFinished( bool updateGUI )
|
||||
|
||||
|
||||
void
|
||||
Source::onStateChanged( DBSyncConnectionState newstate, DBSyncConnectionState oldstate, const QString& info )
|
||||
Source::onStateChanged( Tomahawk::DBSyncConnectionState newstate, Tomahawk::DBSyncConnectionState oldstate, const QString& info )
|
||||
{
|
||||
Q_D( Source );
|
||||
|
||||
|
@ -144,7 +144,7 @@ private slots:
|
||||
void setOffline();
|
||||
void setOnline();
|
||||
|
||||
void onStateChanged( DBSyncConnectionState newstate, DBSyncConnectionState oldstate, const QString& info );
|
||||
void onStateChanged( Tomahawk::DBSyncConnectionState newstate, Tomahawk::DBSyncConnectionState oldstate, const QString& info );
|
||||
|
||||
void onPlaybackStarted( const Tomahawk::track_ptr& track, unsigned int duration );
|
||||
void onPlaybackFinished( const Tomahawk::track_ptr& track, const Tomahawk::PlaybackLog& log );
|
||||
|
@ -37,5 +37,6 @@ enum DBSyncConnectionState
|
||||
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE( Tomahawk::DBSyncConnectionState )
|
||||
|
||||
#endif // DBSYNCCONNECTIONSTATE_H
|
||||
|
@ -56,7 +56,7 @@ DBSyncConnection::DBSyncConnection( Servent* s, const source_ptr& src )
|
||||
|
||||
// Be aware of namespaces in these signals/slots!
|
||||
connect( this, SIGNAL( stateChanged( Tomahawk::DBSyncConnectionState, Tomahawk::DBSyncConnectionState, QString ) ),
|
||||
m_source.data(), SLOT( onStateChanged( DBSyncConnectionState, DBSyncConnectionState, QString ) ) );
|
||||
m_source.data(), SLOT( onStateChanged( Tomahawk::DBSyncConnectionState, Tomahawk::DBSyncConnectionState, QString ) ) );
|
||||
connect( m_source.data(), SIGNAL( commandsFinished() ),
|
||||
this, SLOT( lastOpApplied() ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user