summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/projectbrowser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/projectbrowser.h b/ui/projectbrowser.h
index b76aa3d8..83d367f4 100644
--- a/ui/projectbrowser.h
+++ b/ui/projectbrowser.h
@@ -56,6 +56,8 @@ class BINARYNINJAUIAPI ProjectItemModel: public QStandardItemModel, public Binar
std::unordered_map<std::string, QStandardItem*> m_itemsById;
+ bool m_globalShowFullFileSize;
+
QHash<QString, QString> m_pathMimeTypeCache;
QHash<QString, size_t> m_pathSizeCache;
QHash<QString, QIcon> m_pathIconCache;
@@ -96,6 +98,9 @@ public:
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override;
+ virtual void toggleGlobalShowFileSize();
+ virtual bool isGlobalShowFileSize() const;
+
enum {
TypeRole = Qt::UserRole,
IdRole,