From dbff30b040a59111e593529477d80f0fc0c708a8 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Thu, 6 Mar 2014 17:58:39 +0100 Subject: [PATCH] Cosmetic fix about openCaptureFile... (in Wireshark Qt) Change-Id: I9f62b8393f33a964ec54a673f30d5d9a77d02f2c Reviewed-on: https://code.wireshark.org/review/530 Reviewed-by: Alexis La Goutte Tested-by: Alexis La Goutte --- ui/qt/main_window.h | 2 +- ui/qt/main_window_slots.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index e56eb62ba0..a74423a906 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -164,7 +164,7 @@ signals: public slots: // in main_window_slots.cpp - void openCaptureFile(QString& cf_path = *new QString(), QString &display_filter = *new QString(), const unsigned int type = WTAP_TYPE_AUTO); + void openCaptureFile(QString& cf_path = *new QString(), QString& display_filter = *new QString(), unsigned int type = WTAP_TYPE_AUTO); void filterPackets(QString& new_filter = *new QString(), bool force = false); void updateForUnsavedChanges(); void layoutPanes(); diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp index 9e51feebae..3734670f52 100644 --- a/ui/qt/main_window_slots.cpp +++ b/ui/qt/main_window_slots.cpp @@ -95,7 +95,7 @@ const char *dfe_property_ = "display filter expression"; //TODO : Fix Translate -void MainWindow::openCaptureFile(QString &cf_path, QString &display_filter, unsigned int type) +void MainWindow::openCaptureFile(QString& cf_path, QString& display_filter, unsigned int type) { QString file_name = ""; dfilter_t *rfcode = NULL;