Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* Fixed playlist row's height changing height when hovering during dr…

…ag & drop operations.
  • Loading branch information...
commit 65dbe8b268ebe84ed9cb4a6a448d82432c3314bd 1 parent 60f4263
@muesli muesli authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/sourcetree/SourceDelegate.cpp
View
4 src/sourcetree/SourceDelegate.cpp
@@ -106,8 +106,8 @@ SourceDelegate::sizeHint( const QStyleOptionViewItem& option, const QModelIndex&
if ( !m_expandedMap.value( index )->initialized() )
{
int dropTypes = dropTypeCount( item );
- QSize originalSize = QSize( option.rect.width(), option.fontMetrics.height() * 1.2 );
- QSize targetSize = originalSize + QSize( 0, dropTypes == 0 ? 0 : 38 + option.fontMetrics.height() * 1.2 );
+ QSize originalSize = QSize( option.rect.width(), option.fontMetrics.height() * 1.4 );
+ QSize targetSize = originalSize + QSize( 0, dropTypes == 0 ? 0 : 38 + option.fontMetrics.height() * 1.4 );
m_expandedMap.value( index )->initialize( originalSize, targetSize, 300 );
m_expandedMap.value( index )->expand();
}
Please sign in to comment.
Something went wrong with that request. Please try again.