summaryrefslogtreecommitdiffstats
path: root/app/perfaddresscache.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/perfaddresscache.h')
-rw-r--r--app/perfaddresscache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/perfaddresscache.h b/app/perfaddresscache.h
index 6e18a34..6bc780d 100644
--- a/app/perfaddresscache.h
+++ b/app/perfaddresscache.h
@@ -48,7 +48,7 @@ public:
, symname(symname)
{}
- bool isValid() const { return size != 0; }
+ bool isValid() const { return !symname.isEmpty(); }
quint64 offset;
quint64 size;