Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.cpp b/noncore/net/wellenreiter/gui/configwindow.cpp index ae149e2..1670f93 100644 --- a/noncore/net/wellenreiter/gui/configwindow.cpp +++ b/noncore/net/wellenreiter/gui/configwindow.cpp @@ -18,2 +18,3 @@ #include "mainwindow.h" +#include "protolistview.h" @@ -186,3 +187,6 @@ bool WellenreiterConfigWindow::isChannelChecked( int channel ) const case 14: return channel14->isOn(); + default: return false; } + + } @@ -219,3 +223,3 @@ void WellenreiterConfigWindow::synchronizeActionsAndScripts() -void WellenreiterConfigWindow::changedNetworkAction(int t) +void WellenreiterConfigWindow::changedNetworkAction(int ) { @@ -225,3 +229,3 @@ void WellenreiterConfigWindow::changedNetworkAction(int t) -void WellenreiterConfigWindow::changedClientAction(int t) +void WellenreiterConfigWindow::changedClientAction(int ) { @@ -231,3 +235,3 @@ void WellenreiterConfigWindow::changedClientAction(int t) -void WellenreiterConfigWindow::changedStationAction(int t) +void WellenreiterConfigWindow::changedStationAction(int ) { @@ -282,3 +286,2 @@ int WellenreiterConfigWindow::gpsPort() const { - bool ok; return useGPS() ? gpsdPort->value() : -1; @@ -292,3 +295,3 @@ void WellenreiterConfigWindow::performAction( const QString& type, int channel, - int signal + int /* signal */ /* , const GpsLocation& loc */ ) @@ -319,3 +322,3 @@ void WellenreiterConfigWindow::performAction( const QString& type, - odebug << "for event '" << (const char*) type << "' I'm going to perform action " << action << " (script='" << script << "')" << oendl; + odebug << "for event '" << type << "' I'm going to perform action " << action << " (script='" << script << "')" << oendl; @@ -406,2 +409,3 @@ void WellenreiterConfigWindow::load() getCaptureFileName->setEnabled( writeCaptureFile->isChecked() ); + parsePackets->setEnabled( writeCaptureFile->isChecked() ); captureFileName->setText( c->readEntry( "filename", "/tmp/capture" ) ); |