From: vsr Date: Tue, 18 Jan 2005 14:14:48 +0000 (+0000) Subject: Modification according to the bug PAL6837: use patched QFileDialog from PatchQt packa... X-Git-Tag: HEAD_20050120~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=040aaa01fa18e39c9f2dd06faa42e45e7f0a4edc;p=modules%2Fkernel.git 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. --- 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"