Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index be2a86e..b4b6aa3 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -37,2 +37,3 @@ using namespace Opie; | |||
37 | #include <qmessagebox.h> | 37 | #include <qmessagebox.h> |
38 | #include <qregexp.h> | ||
38 | #include <qspinbox.h> | 39 | #include <qspinbox.h> |
@@ -327,3 +328,7 @@ void Wellenreiter::startClicked() | |||
327 | { | 328 | { |
328 | pcap->open( interface, configwindow->captureFileName->text() ); | 329 | QString dumpname( configwindow->captureFileName->text() ); |
330 | dumpname.append( '-' ); | ||
331 | dumpname.append( QTime::currentTime().toString().replace( QRegExp( ":" ), "-" ) ); | ||
332 | dumpname.append( ".wellenreiter" ); | ||
333 | pcap->open( interface, dumpname ); | ||
329 | } | 334 | } |
@@ -367,2 +372,8 @@ void Wellenreiter::startClicked() | |||
367 | emit( startedSniffing() ); | 372 | emit( startedSniffing() ); |
373 | if ( cardtype != DEVTYPE_FILE ) channelHopped( 6 ); // set title | ||
374 | else | ||
375 | { | ||
376 | assert( parent() ); | ||
377 | ( (QMainWindow*) parent() )->setCaption( "Wellenreiter II - replaying capture file..." ); | ||
378 | } | ||
368 | } | 379 | } |