aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/qt/simple_dialog.cpp2
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;