diff options
author | Michael Mann <mmann78@netscape.net> | 2017-08-05 21:01:04 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-08-06 02:56:24 +0000 |
commit | 839032dff87ae4ad5533fc275719f3ee72186cbc (patch) | |
tree | 6877c7f5d142e7325bf88e87104dd6964d7f6dd8 /ui/qt | |
parent | f63b68f7078a482d31d6bc22569756c09a0a2202 (diff) |
simple_dialog.cpp: Fix missed Qt version wrapper.
check_box_ member was missing a #if (QT_VERSION > QT_VERSION_CHECK(5, 2, 0)) wrapper
Change-Id: Ibdddbe523b8e15c0af31fddfd3f251c24114d11a
Reviewed-on: https://code.wireshark.org/review/22959
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/simple_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/simple_dialog.cpp b/ui/qt/simple_dialog.cpp index b50093c389..4a73f030bc 100644 --- a/ui/qt/simple_dialog.cpp +++ b/ui/qt/simple_dialog.cpp @@ -174,7 +174,9 @@ simple_error_message_box(const char *msg_format, ...) } SimpleDialog::SimpleDialog(QWidget *parent, ESD_TYPE_E type, int btn_mask, const char *msg_format, va_list ap) : +#if (QT_VERSION > QT_VERSION_CHECK(5, 2, 0)) check_box_(0), +#endif message_box_(0) { gchar *vmessage; |