Adjusting size of Combo for selecting COM-port of Symbian device

This commit is contained in:
Robert Loehning
2010-06-07 17:23:50 +02:00
parent 2d44eb3776
commit 47a7680ea4

View File

@@ -109,6 +109,7 @@ S60DeviceRunConfigurationWidget::S60DeviceRunConfigurationWidget(
connect(SymbianUtils::SymbianDeviceManager::instance(), SIGNAL(updated()),
this, SLOT(updateSerialDevices()));
// Serial devices control
m_serialPortsCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents);
connect(m_serialPortsCombo, SIGNAL(activated(int)), this, SLOT(setSerialPort(int)));
QHBoxLayout *serialPortHBoxLayout = new QHBoxLayout;
serialPortHBoxLayout->addWidget(m_serialPortsCombo);