Skip to content

Commit 2b39c0f

Browse files
jef-nalexbruy
authored andcommittedDec 25, 2011
fix #3185 and #4689
1 parent 78379f6 commit 2b39c0f

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
@@ -320,7 +320,7 @@ void QgsGPSInformationWidget::connectGps()
320320

321321
if ( mRadUserPath->isChecked() )
322322
{
323-
port = mCboDevices->itemData( mCboDevices->currentIndex() ).toString();
323+
port = mCboDevices->currentText();
324324

325325
if ( port.isEmpty() )
326326
{

‎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;
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
@@ -335,6 +335,9 @@
335335
<property name="enabled">
336336
<bool>false</bool>
337337
</property>
338+
<property name="editable">
339+
<bool>true</bool>
340+
</property>
338341
</widget>
339342
</item>
340343
<item>

0 commit comments

Comments
 (0)
Please sign in to comment.