Skip to content

Commit 98f93ff

Browse files
committedDec 24, 2011
fix #3185 and #4689
1 parent 0241379 commit 98f93ff

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed
 

‎src/app/gps/qgsgpsinformationwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ void QgsGPSInformationWidget::connectGps()
391391

392392
if ( mRadUserPath->isChecked() )
393393
{
394-
port = mCboDevices->itemData( mCboDevices->currentIndex() ).toString();
394+
port = mCboDevices->currentText();
395395

396396
if ( port.isEmpty() )
397397
{

‎src/core/gps/qextserialport/qextserialenumerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ QextSerialEnumerator::~QextSerialEnumerator( )
104104
infoList.append(info);
105105

106106
CloseHandle( hPort );
107-
}
107+
}
108108
#endif
109109
}
110110

‎src/core/gps/qgsgpsdetector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ QList< QPair<QString, QString> > QgsGPSDetector::availablePorts()
8989
QgsGPSDetector::QgsGPSDetector( QString portName )
9090
{
9191
mConn = 0;
92-
mBaudList << BAUD4800 << BAUD9600 << BAUD38400 << BAUD57600; //add 57600 for SXBlueII GPS unit
92+
mBaudList << BAUD4800 << BAUD9600 << BAUD38400 << BAUD57600 << BAUD115200; //add 57600 for SXBlueII GPS unit
9393

9494
if ( portName.isEmpty() )
9595
{

‎src/ui/qgsgpsinformationwidgetbase.ui

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,9 @@ gray = no data
691691
<property name="enabled">
692692
<bool>false</bool>
693693
</property>
694+
<property name="editable">
695+
<bool>true</bool>
696+
</property>
694697
</widget>
695698
</item>
696699
<item>

0 commit comments

Comments
 (0)
Please sign in to comment.