Cosmetic fix about openCaptureFile... (in Wireshark Qt)

Change-Id: I9f62b8393f33a964ec54a673f30d5d9a77d02f2c
Reviewed-on: https://code.wireshark.org/review/530
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Alexis La Goutte 2014-03-06 17:58:39 +01:00
parent bf3f4713b9
commit dbff30b040
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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;