summaryrefslogtreecommitdiff
path: root/ui/qt/preferences_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2015-02-08 12:24:19 -0800
committerGerald Combs <gerald@wireshark.org>2015-02-10 19:59:43 +0000
commitc34ded4ae2f6798267220e274142058a142f5ec9 (patch)
tree92dfd61dc0edf7f48ddcd440e7b3b40323da5be4 /ui/qt/preferences_dialog.h
parent88d62dffe811c8c25ce2993bd58908d447306ba0 (diff)
downloadwireshark-c34ded4ae2f6798267220e274142058a142f5ec9.tar.gz
Qt/C++: Change a bunch of includes to forward declarations.
In theory this this should reduce compilation times. On my particular system it makes no difference but hopefully it will elsewhere. Change-Id: I570177d3ca4eec691c82d46b4dbbce74092aac1d Reviewed-on: https://code.wireshark.org/review/7060 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/preferences_dialog.h')
-rw-r--r--ui/qt/preferences_dialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/preferences_dialog.h b/ui/qt/preferences_dialog.h
index 17271e388f..19e51c055e 100644
--- a/ui/qt/preferences_dialog.h
+++ b/ui/qt/preferences_dialog.h
@@ -34,7 +34,8 @@
#include <QDialog>
#include <QTreeWidgetItem>
-#include <QComboBox>
+
+class QComboBox;
extern pref_t *prefFromPrefPtr(void *pref_ptr);
extern guint fill_advanced_prefs(module_t *module, gpointer root_ptr);