1
0
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:
Uwe L. Korn 2014-11-06 11:27:35 +01:00
parent 954608d81c
commit 4ea074023d
2 changed files with 9 additions and 3 deletions

View File

@ -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 )
{

View File

@ -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 );