From 040aaa01fa18e39c9f2dd06faa42e45e7f0a4edc Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 18 Jan 2005 14:14:48 +0000 Subject: [PATCH] Modification according to the bug PAL6837: use patched QFileDialog from PatchQt package only when compiling SALOME with official (3.0.5) version of Qt. If other version of Qt is used, patch is ignored. --- src/SALOMEGUI/QAD_FileDlg.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/SALOMEGUI/QAD_FileDlg.h b/src/SALOMEGUI/QAD_FileDlg.h index a604596a5..e7180753e 100644 --- a/src/SALOMEGUI/QAD_FileDlg.h +++ b/src/SALOMEGUI/QAD_FileDlg.h @@ -14,7 +14,14 @@ #include +// VSR (18/01/2005): use patched QFileDialog only for the official 3.0.5 version of Qt +#if QT_VERSION == 0x030005 #include +#else +#include +#define QFileDialogP QFileDialog +#endif + #include "QAD.h" #include "QAD_FileValidator.h" -- 2.39.2