aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/wireshark_application.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-09-17 23:59:50 +0000
committerGerald Combs <gerald@wireshark.org>2012-09-17 23:59:50 +0000
commit9e338509f52b0005a8b56d090c81e9e886aa4bd3 (patch)
tree1bd7f89e88320afe19c2f22756ee331479180dcc /ui/qt/wireshark_application.cpp
parent3069f22bd1b84b56225e959a6e2ccbb09c53bdbe (diff)
Restore set_last_open_dir. We need it on Windows.
svn path=/trunk/; revision=44957
Diffstat (limited to 'ui/qt/wireshark_application.cpp')
-rw-r--r--ui/qt/wireshark_application.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp
index b5cddbdfb7..583da79d6c 100644
--- a/ui/qt/wireshark_application.cpp
+++ b/ui/qt/wireshark_application.cpp
@@ -54,6 +54,12 @@ get_last_open_dir(void)
return last_open_dir;
}
+void
+set_last_open_dir(const char *dirname)
+{
+ if (wsApp) wsApp->setLastOpenDir(dirname);
+}
+
/*
* Add the capture filename to the application-wide "Recent Files" list.
* Contrary to the name this isn't limited to the "recent" menu.