mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
OP-1182 tried to make device list combo box wide enough to display "USB: OPLinkMini" on all OSes
This commit is contained in:
parent
ff6c5e80a0
commit
3ce504ac6e
@ -50,8 +50,7 @@ ConnectionManager::ConnectionManager(Internal::MainWindow *mainWindow) :
|
||||
{
|
||||
// device list
|
||||
m_availableDevList = new QComboBox;
|
||||
m_availableDevList->setMinimumWidth(120);
|
||||
m_availableDevList->setMaximumWidth(180);
|
||||
m_availableDevList->setMinimumContentsLength(tr("USB: OPLinkMini").length());
|
||||
m_availableDevList->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
|
||||
// connect button
|
||||
|
Loading…
Reference in New Issue
Block a user