mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
Remove Result::isValid as it's always true
This commit is contained in:
@@ -128,13 +128,6 @@ Result::deleteLater()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
|
||||||
Result::isValid() const
|
|
||||||
{
|
|
||||||
return m_track && !m_track->artist().isEmpty() && !m_track->track().isEmpty();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Result::onResolverRemoved( Tomahawk::Resolver* resolver )
|
Result::onResolverRemoved( Tomahawk::Resolver* resolver )
|
||||||
{
|
{
|
||||||
|
@@ -72,8 +72,6 @@ public:
|
|||||||
|
|
||||||
virtual ~Result();
|
virtual ~Result();
|
||||||
|
|
||||||
bool isValid() const;
|
|
||||||
|
|
||||||
QVariant toVariant() const;
|
QVariant toVariant() const;
|
||||||
QString toString() const;
|
QString toString() const;
|
||||||
Tomahawk::query_ptr toQuery();
|
Tomahawk::query_ptr toQuery();
|
||||||
|
Reference in New Issue
Block a user