File => Open (Ctrl+O) on Qtshark (broke with last change...)
Use Qt:Autoconnect SLOT/Signal svn path=/trunk/; revision=44708
This commit is contained in:
parent
9d6e58a52b
commit
070ccb3d5a
|
@ -457,6 +457,11 @@ void MainWindow::openRecentCaptureFile(QString &cfPath)
|
|||
main_ui_->statusBar->showExpert();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionFileOpen_triggered() {
|
||||
openRecentCaptureFile();
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::on_actionFileClose_triggered() {
|
||||
cf_close(&cfile);
|
||||
main_ui_->mainStack->setCurrentWidget(main_welcome_);
|
||||
|
@ -471,6 +476,7 @@ void MainWindow::recentActionTriggered() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::on_actionGoGoToPacket_triggered() {
|
||||
if (packet_list_->model()->rowCount() < 1) {
|
||||
return;
|
||||
|
|
|
@ -80,6 +80,7 @@ public slots:
|
|||
private slots:
|
||||
void updateRecentFiles();
|
||||
void openRecentCaptureFile(QString& cfPath = *new QString());
|
||||
void on_actionFileOpen_triggered();
|
||||
void on_actionFileClose_triggered();
|
||||
void recentActionTriggered();
|
||||
void on_actionGoGoToPacket_triggered();
|
||||
|
|
Loading…
Reference in New Issue