mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 21:27:58 +02:00
GCC suggests parens to make the logic obvious, so make it nice and obvious
This commit is contained in:
@@ -114,8 +114,12 @@ bool
|
||||
CategoryAddItem::willAcceptDrag( const QMimeData* data ) const
|
||||
{
|
||||
if ( ( m_categoryType == SourcesModel::PlaylistsCategory || m_categoryType == SourcesModel::StationsCategory ) &&
|
||||
(
|
||||
data->hasFormat( "application/tomahawk.query.list" ) ||
|
||||
data->hasFormat( "application/tomahawk.result.list" ) ) {
|
||||
data->hasFormat( "application/tomahawk.result.list" )
|
||||
)
|
||||
)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user