diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-10-16 19:47:43 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-10-16 19:47:43 +0000 |
commit | 9f1fd13e9a678b361840a016f55d564e028f87bf (patch) | |
tree | d2894dd2301b2e44a7c7b8a59f4eff2a9f0908f5 /ui/qt/file_set_dialog.cpp | |
parent | 696ea123be7da4b81e52dc4d65a078d97fd0c2ba (diff) | |
download | wireshark-9f1fd13e9a678b361840a016f55d564e028f87bf.tar.gz |
Use topic_action instead of topic_cb for the Windows file dialogs. Move
the common Qt help code to wireshark_application.cpp.
svn path=/trunk/; revision=45594
Diffstat (limited to 'ui/qt/file_set_dialog.cpp')
-rw-r--r-- | ui/qt/file_set_dialog.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/ui/qt/file_set_dialog.cpp b/ui/qt/file_set_dialog.cpp index 3ee73a67ef..17f87608e1 100644 --- a/ui/qt/file_set_dialog.cpp +++ b/ui/qt/file_set_dialog.cpp @@ -32,15 +32,14 @@ #include "file_set_dialog.h" #include "ui_file_set_dialog.h" +#include "wireshark_application.h" #include <QDialogButtonBox> #include <QPushButton> #include <QDateTime> #include <QFontMetrics> -#include <QDesktopServices> -#include <QUrl> #include <QFont> - +#include <QUrl> Q_DECLARE_METATYPE(fileset_entry *) @@ -169,12 +168,7 @@ QString FileSetDialog::nameToDate(const char *name) { void FileSetDialog::on_buttonBox_helpRequested() { - gchar *url = topic_action_url(HELP_FILESET_DIALOG); - - if(url != NULL) { - QDesktopServices::openUrl(QUrl(url)); - g_free(url); - } + wsApp->helpTopicAction(HELP_FILESET_DIALOG); } void FileSetDialog::on_fileSetTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous) |