diff options
| author | Brian Potchik <brian@vector35.com> | 2025-01-23 13:40:43 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-01-23 13:40:43 -0500 |
| commit | 0e67c443444849b313d8d676a5506a8e025a1cf9 (patch) | |
| tree | 4ad627ed2d00a4762de723cc2511616a97f76002 | |
| parent | 8ba7106948272275534309d10a5a444f26df01ee (diff) | |
Fix CopyableLabel hidden text feature.
| -rw-r--r-- | ui/copyablelable.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/copyablelable.h b/ui/copyablelable.h index 9cca2bef..e0b79bed 100644 --- a/ui/copyablelable.h +++ b/ui/copyablelable.h @@ -4,10 +4,11 @@ class BINARYNINJAUIAPI CopyableLabel: public QLabel { QColor m_desiredColor {}; - QString altText = ""; + QString m_hiddenText; public: - CopyableLabel(const QString& text, const QColor& color, bool show = true); + CopyableLabel(const QString& text, const QColor& color); + void setHiddenText(const QString& text); void enterEvent(QEnterEvent* event) override; void leaveEvent(QEvent* event) override; void mousePressEvent(QMouseEvent* event) override; |
