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