debugger: robustness

This commit is contained in:
hjk
2010-09-01 18:55:44 +02:00
parent 491c8e1334
commit 46aa04dcb4

View File

@@ -542,6 +542,8 @@ QString extractTypeFromPTypeOutput(const QString &str)
bool isIntType(const QByteArray &type)
{
if (type.isEmpty())
return false;
switch (type.at(0)) {
case 'b':
return type == "bool";