path: root/src/gui
diff options
authorThiago Macieira <>2016-07-22 18:08:49 -0700
committerThiago Macieira <>2016-07-24 05:27:53 +0000
commit726c8ca0de2ba868017b20a737cf4c3be3ae7423 (patch)
treec8bf4d7f48441900f4bbfd5b673ab778ac3f504a /src/gui
parent5123dba5640c8a8c25ec61194a703add17510401 (diff)
Work around ICC bug about shadowing declarations that aren't shadowing
Known ICC bug, still present in version 17 beta. qdatetime.h(126): error #3280: declaration hides member "QDate::jd" (declared at line 136) Obviously a parameter to static function or to a function in a nested class can't shadow an NSDM. Intel issue IDs: 0000698329 / DPD200245740 Change-Id: I149e0540c00745fe8119fffd1463c679a3a9c8c3 Reviewed-by: Marc Mutz <>
Diffstat (limited to 'src/gui')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index b407663338..b5d2c4d159 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -524,7 +524,7 @@ public:
class Attribute {
- Attribute(AttributeType t, int s, int l, QVariant val) : type(t), start(s), length(l), value(qMove(val)) {}
+ Attribute(AttributeType typ, int s, int l, QVariant val) : type(typ), start(s), length(l), value(qMove(val)) {}
AttributeType type;
int start;