1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +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:
Philippe Renon 2014-01-21 02:42:11 +01:00
parent ff6c5e80a0
commit 3ce504ac6e

View File

@ -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