summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2013-08-22 16:25:13 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-27 08:01:29 +0200
commit507f1889e2b21d0b3367715dc5e63e124433a992 (patch)
tree11a077cb1988e05ac94f42b2bb4cd7e476997891 /qmake
parentf73518e7325faf1359b7f52333aa7c11ed393c8c (diff)
Add QJsonValue::toInt().
It's a nice feature to have. MSVC also complains about using doubles to create enum values, so the ugly workaround is: enumValue = MyEnum(qRound(json["myEnumValue"].toDouble())); [ChangeLog][QtCore][QJsonValue]Added QJsonValue::toInt(). Change-Id: I1a200b912abf66b2e96390b1980caff26cfa2685 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions