mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-17 14:28:24 +01:00
Style fixes
This commit is contained in:
parent
954608d81c
commit
4ea074023d
@ -33,7 +33,7 @@ MediaStream::MediaStream( QObject* parent )
|
||||
|
||||
|
||||
MediaStream::MediaStream( const QUrl &url )
|
||||
: QObject( 0 )
|
||||
: QObject( nullptr )
|
||||
, m_type( Url )
|
||||
, m_url( url )
|
||||
, m_ioDevice ( nullptr )
|
||||
@ -42,7 +42,7 @@ MediaStream::MediaStream( const QUrl &url )
|
||||
|
||||
|
||||
MediaStream::MediaStream( QIODevice* device )
|
||||
: QObject( 0 )
|
||||
: QObject( nullptr )
|
||||
, m_type( IODevice )
|
||||
, m_ioDevice ( device )
|
||||
{
|
||||
|
@ -32,7 +32,13 @@ class DLLEXPORT MediaStream : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum MediaType { Unknown = -1, Empty = 0, Url = 1, Stream = 2, IODevice = 3 };
|
||||
enum MediaType {
|
||||
Unknown = -1,
|
||||
Empty = 0,
|
||||
Url = 1,
|
||||
Stream = 2,
|
||||
IODevice = 3
|
||||
};
|
||||
|
||||
MediaStream( QObject* parent = nullptr );
|
||||
explicit MediaStream( const QUrl &url );
|
||||
|
Loading…
x
Reference in New Issue
Block a user