diff options
author | ConfuSomu | 2024-01-08 09:01:41 +0100 |
---|---|---|
committer | ConfuSomu | 2024-01-08 09:01:41 +0100 |
commit | 328c9b166e9d623cd1b80c7ae064baf6172da58f (patch) | |
tree | 88a333266708c469db0b2a8ca441d8834d7453d1 /src | |
parent | 7a3e8c8b1e252e1bdbbe4f90213f3d39c1f3fff4 (diff) | |
download | ActorViewer-328c9b166e9d623cd1b80c7ae064baf6172da58f.tar ActorViewer-328c9b166e9d623cd1b80c7ae064baf6172da58f.tar.gz ActorViewer-328c9b166e9d623cd1b80c7ae064baf6172da58f.zip |
Show status list item tooltip regardless of NDEBUG
This shows the tooltip even when making a release build.
Diffstat (limited to 'src')
-rw-r--r-- | src/list_item.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/list_item.cpp b/src/list_item.cpp index 30f2ab0..18379ea 100644 --- a/src/list_item.cpp +++ b/src/list_item.cpp @@ -29,7 +29,6 @@ StatusListItem::StatusListItem(const QString &text, StatusType status_type, bool setText(text); setIcon(choose_icon(status_type)); parent->addItem(this); -#ifndef NDEBUG QString tool_tip; switch (status_type) { case PUBLIC: tool_tip = QObject::tr("Public"); break; @@ -40,7 +39,6 @@ StatusListItem::StatusListItem(const QString &text, StatusType status_type, bool case REBLOG: tool_tip = QObject::tr("Reblog"); break; } setToolTip(tool_tip); -#endif } int StatusListItem::get_status_index() { |