mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 09:49:42 +01:00
Remove asserts in getters as this makes debugging harder
This commit is contained in:
parent
3e8e815b37
commit
f87f1dbaa0
@ -120,8 +120,6 @@ SipInfo::setVisible( bool visible )
|
||||
bool
|
||||
SipInfo::isVisible() const
|
||||
{
|
||||
Q_ASSERT( isValid() );
|
||||
|
||||
return d->visible.toBool();
|
||||
}
|
||||
|
||||
@ -136,8 +134,6 @@ SipInfo::setHost( const QString& host )
|
||||
const QString
|
||||
SipInfo::host() const
|
||||
{
|
||||
Q_ASSERT( isValid() );
|
||||
|
||||
return d->host;
|
||||
}
|
||||
|
||||
@ -152,8 +148,6 @@ SipInfo::setPort( int port )
|
||||
int
|
||||
SipInfo::port() const
|
||||
{
|
||||
Q_ASSERT( isValid() );
|
||||
|
||||
return d->port;
|
||||
}
|
||||
|
||||
@ -168,8 +162,6 @@ SipInfo::setNodeId( const QString& nodeId )
|
||||
const QString
|
||||
SipInfo::nodeId() const
|
||||
{
|
||||
Q_ASSERT( isValid() );
|
||||
|
||||
return d->nodeId;
|
||||
}
|
||||
|
||||
@ -184,8 +176,6 @@ SipInfo::setKey( const QString& key )
|
||||
const QString
|
||||
SipInfo::key() const
|
||||
{
|
||||
Q_ASSERT( isValid() );
|
||||
|
||||
return d->key;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user