Diffstat (limited to 'noncore/net/wellenreiter/gui/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/mainwindow.cpp b/noncore/net/wellenreiter/gui/mainwindow.cpp index b462afd..72624f7 100644 --- a/noncore/net/wellenreiter/gui/mainwindow.cpp +++ b/noncore/net/wellenreiter/gui/mainwindow.cpp | |||
@@ -233,25 +233,25 @@ void WellenreiterMainWindow::demoAddStations() | |||
233 | mw->netView()->addNewItem( "adhoc", "ELAN", OMacAddress::fromString("00:04:01:E7:56:62"), false, 3, 15, GpsLocation( 2.3, 5.5 ) ); | 233 | mw->netView()->addNewItem( "adhoc", "ELAN", OMacAddress::fromString("00:04:01:E7:56:62"), false, 3, 15, GpsLocation( 2.3, 5.5 ) ); |
234 | mw->netView()->addNewItem( "adhoc", "ELAN", OMacAddress::fromString("00:05:8E:E7:56:E2"), false, 3, 20, GpsLocation( -10.0, -20.5 ) ); | 234 | mw->netView()->addNewItem( "adhoc", "ELAN", OMacAddress::fromString("00:05:8E:E7:56:E2"), false, 3, 20, GpsLocation( -10.0, -20.5 ) ); |
235 | } | 235 | } |
236 | 236 | ||
237 | 237 | ||
238 | void WellenreiterMainWindow::demoReadFromGps() | 238 | void WellenreiterMainWindow::demoReadFromGps() |
239 | { | 239 | { |
240 | WellenreiterConfigWindow* configwindow = WellenreiterConfigWindow::instance(); | 240 | WellenreiterConfigWindow* configwindow = WellenreiterConfigWindow::instance(); |
241 | GPS* gps = new GPS( this ); | 241 | GPS* gps = new GPS( this ); |
242 | gps->open( configwindow->gpsdHost->currentText(), configwindow->gpsdPort->value() ); | 242 | gps->open( configwindow->gpsdHost->currentText(), configwindow->gpsdPort->value() ); |
243 | GpsLocation loc = gps->position(); | 243 | GpsLocation loc = gps->position(); |
244 | 244 | ||
245 | QMessageBox::information( this, "Wellenreiter/Opie", tr( "GPS said:\n$1" ).arg( loc.dmsPosition() ) ); | 245 | QMessageBox::information( this, "Wellenreiter/Opie", tr( "GPS said:\n%1" ).arg( loc.dmsPosition() ) ); |
246 | } | 246 | } |
247 | 247 | ||
248 | 248 | ||
249 | QString WellenreiterMainWindow::getFileName( bool save ) | 249 | QString WellenreiterMainWindow::getFileName( bool save ) |
250 | { | 250 | { |
251 | QMap<QString, QStringList> map; | 251 | QMap<QString, QStringList> map; |
252 | map.insert( tr("All"), QStringList() ); | 252 | map.insert( tr("All"), QStringList() ); |
253 | QStringList text; | 253 | QStringList text; |
254 | text << "text/*"; | 254 | text << "text/*"; |
255 | map.insert( tr("Text"), text ); | 255 | map.insert( tr("Text"), text ); |
256 | text << "*"; | 256 | text << "*"; |
257 | map.insert( tr("All"), text ); | 257 | map.insert( tr("All"), text ); |