Get rid of too small fonts in all file browsers
Removes one of the several calls to pointSizeF. This method seems to return a font which has the same height in pixels on all displays (regardless of the display's actual DPI value). In the long run these calls will all have to be removed to make LMMS usable on high DPI displays.
This commit is contained in:
@@ -372,8 +372,6 @@ FileBrowserTreeWidget::FileBrowserTreeWidget(QWidget * parent ) :
|
||||
headerItem()->setHidden( true );
|
||||
setSortingEnabled( false );
|
||||
|
||||
setFont( pointSizeF( font(), 7.5f ) );
|
||||
|
||||
connect( this, SIGNAL( itemDoubleClicked( QTreeWidgetItem *, int ) ),
|
||||
SLOT( activateListItem( QTreeWidgetItem *, int ) ) );
|
||||
connect( this, SIGNAL( itemCollapsed( QTreeWidgetItem * ) ),
|
||||
|
||||
Reference in New Issue
Block a user