summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/copyablelable.h5
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;