From 095a7ee54b3effe8b242e6d33e979490552df2ad Mon Sep 17 00:00:00 2001 From: Theron Tock Date: Tue, 12 Jul 2011 08:28:20 -0700 Subject: [PATCH] Fixes #2571 (build error with old qt) --- src/libgui/AddressTableDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libgui/AddressTableDialog.cpp b/src/libgui/AddressTableDialog.cpp index 7c9f2c02e..eecf1f793 100644 --- a/src/libgui/AddressTableDialog.cpp +++ b/src/libgui/AddressTableDialog.cpp @@ -163,7 +163,9 @@ static void doReminderAboutDataDir() msgBox.setWindowFlags(Qt::Window | Qt::WindowTitleHint | Qt::CustomizeWindowHint | +#if QT_VERSION >= 0x040500 Qt::WindowCloseButtonHint | +#endif Qt::WindowSystemMenuHint); msgBox.setWindowTitle("Data directory conversion");