aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConfuSomu2024-01-08 09:01:41 +0100
committerConfuSomu2024-01-08 09:01:41 +0100
commit328c9b166e9d623cd1b80c7ae064baf6172da58f (patch)
tree88a333266708c469db0b2a8ca441d8834d7453d1
parent7a3e8c8b1e252e1bdbbe4f90213f3d39c1f3fff4 (diff)
downloadActorViewer-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.
-rw-r--r--src/list_item.cpp2
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() {