Skip to content

Commit 0a7cb3d

Browse files
committed
convert log maxsize to a setting
1 parent fb994d5 commit 0a7cb3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/logview.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include "action.h"
1717
#include "dockhandler.h"
1818

19-
#define DEFAULT_MAX_LOG_SIZE 10000
2019
#define LOG_UPDATE_INTERVAL 100
2120

2221
class LogStatus;
@@ -40,7 +39,7 @@ class BINARYNINJAUIAPI LogListModel: public QAbstractItemModel, public BinaryNin
4039
QWidget* m_owner;
4140
std::deque<LogListItem> m_items;
4241
std::deque<LogListItem> m_visibleItems;
43-
size_t m_maxSize;
42+
int64_t m_maxSize;
4443

4544
std::vector<LogListItem> m_pendingItems;
4645
std::mutex m_mutex;

0 commit comments

Comments
 (0)