mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
initial twitter fix
This commit is contained in:
@@ -4,7 +4,7 @@ IF( LIBJREEN_FOUND )
|
||||
ENDIF()
|
||||
|
||||
IF( QTWEETLIB_FOUND AND BUILD_GUI )
|
||||
#ADD_SUBDIRECTORY( twitter )
|
||||
ADD_SUBDIRECTORY( twitter )
|
||||
ENDIF()
|
||||
|
||||
ADD_SUBDIRECTORY( zeroconf )
|
@@ -53,7 +53,7 @@ TwitterSipPlugin::TwitterSipPlugin( Tomahawk::Accounts::Account* account )
|
||||
, m_cachedDirectMessagesSinceId( 0 )
|
||||
, m_cachedPeers()
|
||||
, m_keyCache()
|
||||
, m_state( Disconnected )
|
||||
, m_state( Tomahawk::Accounts::Account::Disconnected )
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO;
|
||||
|
||||
@@ -149,7 +149,7 @@ TwitterSipPlugin::disconnectPlugin()
|
||||
m_configuration[ "cachedpeers" ] = m_cachedPeers;
|
||||
syncConfig();
|
||||
m_cachedPeers.empty();
|
||||
m_state = Disconnected;
|
||||
m_state = Tomahawk::Accounts::Account::Disconnected;
|
||||
emit stateChanged( m_state );
|
||||
}
|
||||
|
||||
|
@@ -48,7 +48,7 @@ public:
|
||||
virtual ~TwitterSipPlugin() {}
|
||||
|
||||
virtual bool isValid() const;
|
||||
virtual ConnectionState connectionState() const;
|
||||
virtual Tomahawk::Accounts::Account::ConnectionState connectionState() const;
|
||||
|
||||
public slots:
|
||||
virtual void connectPlugin();
|
||||
@@ -118,7 +118,7 @@ private:
|
||||
QVariantHash m_cachedPeers;
|
||||
QHash< QString, QPixmap > m_cachedAvatars;
|
||||
QSet<QString> m_keyCache;
|
||||
ConnectionState m_state;
|
||||
Tomahawk::Accounts::Account::ConnectionState m_state;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user