Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2371c1
)
Modification according to the bug PAL6837: use patched QFileDialog from PatchQt packa...
author
vsr
<vsr@opencascade.com>
Tue, 18 Jan 2005 14:14:48 +0000
(14:14 +0000)
committer
vsr
<vsr@opencascade.com>
Tue, 18 Jan 2005 14:14:48 +0000
(14:14 +0000)
If other version of Qt is used, patch is ignored.
src/SALOMEGUI/QAD_FileDlg.h
patch
|
blob
|
history
diff --git
a/src/SALOMEGUI/QAD_FileDlg.h
b/src/SALOMEGUI/QAD_FileDlg.h
index a604596a592a666b927d4bcc097619513db44c03..e7180753ef29d6fe167ee918450d7af1c45766cf 100644
(file)
--- a/
src/SALOMEGUI/QAD_FileDlg.h
+++ b/
src/SALOMEGUI/QAD_FileDlg.h
@@
-14,7
+14,14
@@
#include <qcombobox.h>
+// VSR (18/01/2005): use patched QFileDialog only for the official 3.0.5 version of Qt
+#if QT_VERSION == 0x030005
#include <qfiledialogP.h>
+#else
+#include <qfiledialog.h>
+#define QFileDialogP QFileDialog
+#endif
+
#include "QAD.h"
#include "QAD_FileValidator.h"