summaryrefslogtreecommitdiff
path: root/ui/viewframe.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2022-11-03 20:23:17 -0400
committerPeter LaFosse <peter@vector35.com>2022-11-10 16:19:13 -0500
commit3d3622098b1bba3684bd05feef725811845bfe1e (patch)
tree4b1b9abbc8628c14fa700963fe410f0e4d8ac324 /ui/viewframe.h
parent53472825d1c445ef0aefebb1b72daf76ca2ded83 (diff)
Prefer to restore location information from qsettings, falling back to location information from a database.
Diffstat (limited to 'ui/viewframe.h')
-rw-r--r--ui/viewframe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/viewframe.h b/ui/viewframe.h
index 7be57ed1..60dca568 100644
--- a/ui/viewframe.h
+++ b/ui/viewframe.h
@@ -462,8 +462,9 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget
Parse history entries from the raw data associated with a BinaryView, loading them into the back/forward
navigation stacks, and navigating to the saved position.
\param data View containing history entries
+ \param restoreLocation whether or not to navigate to the location stored in the database
*/
- void readHistoryEntries(BinaryViewRef data);
+ void readHistoryEntries(BinaryViewRef data, bool restoreLocation);
/*!
Serialize history entries and current position, storing them in the raw data associated with a BinaryView.
\param data View for saving history entries