mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
Place editor properly:
This commit is contained in:
@@ -54,6 +54,8 @@ protected:
|
|||||||
editor->setGeometry( option.rect.adjusted( 20, 0, 0, 0 ) );
|
editor->setGeometry( option.rect.adjusted( 20, 0, 0, 0 ) );
|
||||||
else
|
else
|
||||||
QStyledItemDelegate::updateEditorGeometry( editor, option, index );
|
QStyledItemDelegate::updateEditorGeometry( editor, option, index );
|
||||||
|
|
||||||
|
editor->setGeometry( editor->geometry().adjusted( TREEVIEW_INDENT_ADD, 0, 0, 0 ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user