1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

Add ASSERTs again

This commit is contained in:
Uwe L. Korn 2013-05-14 11:53:33 +02:00
parent 2839a000bd
commit 374e05c5ca

View File

@ -120,6 +120,7 @@ SipInfo::setVisible( bool visible )
bool
SipInfo::isVisible() const
{
Q_ASSERT( isValid() );
return d->visible.toBool();
}
@ -134,6 +135,7 @@ SipInfo::setHost( const QString& host )
const QString
SipInfo::host() const
{
Q_ASSERT( isValid() );
return d->host;
}
@ -148,6 +150,7 @@ SipInfo::setPort( int port )
int
SipInfo::port() const
{
Q_ASSERT( isValid() );
return d->port;
}
@ -162,6 +165,7 @@ SipInfo::setNodeId( const QString& nodeId )
const QString
SipInfo::nodeId() const
{
Q_ASSERT( isValid() );
return d->nodeId;
}
@ -176,6 +180,7 @@ SipInfo::setKey( const QString& key )
const QString
SipInfo::key() const
{
Q_ASSERT( isValid() );
return d->key;
}