Commit cffe189d authored by hjk's avatar hjk
Browse files

Debugger: Use better approximation for sizeof(double)



Change-Id: Iec35e285384b6b4a7b184383f56a0772348f4f7d
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent e74ab04c
......@@ -2259,7 +2259,7 @@ void WatchModel::showEditValue(const WatchItem *item)
else if (innerType == "float") {
if (innerSize == 4)
reader = &readOne<float>;
else if (innerSize == 4)
else if (innerSize == 8)
reader = &readOne<double>;
}
QTC_ASSERT(reader, return);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment