From 27c5295388421640619d951c862236d457d3bc50 Mon Sep 17 00:00:00 2001 From: Michael Gregorius Date: Mon, 27 Jul 2015 13:16:41 +0200 Subject: [PATCH] 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. --- src/gui/FileBrowser.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/FileBrowser.cpp b/src/gui/FileBrowser.cpp index ecb640277..ef05c6465 100644 --- a/src/gui/FileBrowser.cpp +++ b/src/gui/FileBrowser.cpp @@ -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 * ) ),