1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-04 13:17:34 +02:00

GCC suggests parens to make the logic obvious, so make it nice and obvious

This commit is contained in:
Jeff Mitchell
2011-06-17 12:47:21 -04:00
parent f72c60969b
commit f9dff94ab2

View File

@@ -114,8 +114,12 @@ bool
CategoryAddItem::willAcceptDrag( const QMimeData* data ) const CategoryAddItem::willAcceptDrag( const QMimeData* data ) const
{ {
if ( ( m_categoryType == SourcesModel::PlaylistsCategory || m_categoryType == SourcesModel::StationsCategory ) && if ( ( m_categoryType == SourcesModel::PlaylistsCategory || m_categoryType == SourcesModel::StationsCategory ) &&
(
data->hasFormat( "application/tomahawk.query.list" ) || data->hasFormat( "application/tomahawk.query.list" ) ||
data->hasFormat( "application/tomahawk.result.list" ) ) { data->hasFormat( "application/tomahawk.result.list" )
)
)
{
return true; return true;
} }
return false; return false;