]> git.cworth.org Git - apitrace/commit
Fix GUI visualization of floating point values.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 25 Nov 2011 13:37:37 +0000 (13:37 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 25 Nov 2011 13:37:59 +0000 (13:37 +0000)
commitea4b99ff0dfe5933c8f7b50e1fd59ec3c077c876
tree5d3edc615bf5155306a8ccf8da76c4a7c23b4f87
parentf72e593d5dd779efc3b9f3d2578917daf31d7968
Fix GUI visualization of floating point values.

According to http://doc.qt.nokia.com/stable/qvariant.html#type ,
variant types are actually QMetaType::Type, which includes floats.

So handle the QMetaType::Float case everywhere.
gui/apitracecall.cpp
gui/argumentseditor.cpp
gui/argumentseditor.h