Merge pull request #6787 from michaelgregorius/2510-Fix-HiDPI-Issues-For-Menus

Fix HiDPI issues for menus
This commit is contained in:
Michael Gregorius
2023-09-22 17:34:51 +02:00
committed by GitHub
5 changed files with 0 additions and 11 deletions

View File

@@ -34,7 +34,6 @@ MidiPortMenu::MidiPortMenu( MidiPort::Mode _mode ) :
ModelView( nullptr, this ),
m_mode( _mode )
{
setFont( pointSize<9>( font() ) );
connect( this, SIGNAL(triggered(QAction*)),
this, SLOT(activatedPort(QAction*)));
}

View File

@@ -64,7 +64,6 @@ TrackOperationsWidget::TrackOperationsWidget( TrackView * parent ) :
"to begin a new drag'n'drop action." ).arg(UI_CTRL_KEY) );
auto toMenu = new QMenu(this);
toMenu->setFont( pointSize<9>( toMenu->font() ) );
connect( toMenu, SIGNAL(aboutToShow()), this, SLOT(updateMenu()));

View File

@@ -70,7 +70,6 @@ ComboBox::ComboBox( QWidget * _parent, const QString & _name ) :
}
setFont( pointSize<9>( font() ) );
m_menu.setFont( pointSize<8>( m_menu.font() ) );
connect( &m_menu, SIGNAL(triggered(QAction*)),
this, SLOT(setItem(QAction*)));