From 4223f5dc4b73254abfaaee995603d14d3249751d Mon Sep 17 00:00:00 2001 From: Vitaly Lipatov Date: Sat, 5 Sep 2020 23:31:18 +0300 Subject: [PATCH] fix control reaches end of non-void function errors --- src/ui/event-details-tree.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/event-details-tree.cpp b/src/ui/event-details-tree.cpp index 5721c9dfd..7b9f93ad1 100644 --- a/src/ui/event-details-tree.cpp +++ b/src/ui/event-details-tree.cpp @@ -135,6 +135,7 @@ QString EventDetailsFileItem::etype_desc() const case DIR_DELETED: return QObject::tr("Deleted"); }; + return QString(); } QIcon EventDetailsFileItem::etype_icon() const @@ -153,6 +154,7 @@ QIcon EventDetailsFileItem::etype_icon() const case DIR_DELETED: return awesome->icon(icon_minus, QColor("#BD2C00")); }; + return QIcon(); } const char* EventDetailsFileItem::etype_color() const @@ -171,6 +173,7 @@ const char* EventDetailsFileItem::etype_color() const case DIR_DELETED: return "#BD2C00"; }; + return ""; } bool EventDetailsFileItem::isFileOpenable() const