1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-22 19:05:05 +01:00

Increase indentation on OSx

This commit is contained in:
Hugo Lindström 2013-04-05 12:43:34 +02:00
parent 82579c65f1
commit 63a45db084

View File

@ -695,7 +695,12 @@ SourceDelegate::updateEditorGeometry( QWidget* editor, const QStyleOptionViewIte
type == SourcesModel::Station )
{
QRect newGeometry = option.rect.adjusted( 20, 0, 0, 0 ); //room for the icon
#ifdef Q_OS_MAC
newGeometry.adjust( 3 * TREEVIEW_INDENT_ADD + 5, 0, 0, 0 ); //compensate for osx indentation
#else
newGeometry.adjust( 3 * TREEVIEW_INDENT_ADD, 0, 0, 0 ); //compensate for indentation
#endif
editor->setGeometry( newGeometry );
}
else