Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix control reaches end of non-void function errors #1318

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/ui/event-details-tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ QString EventDetailsFileItem::etype_desc() const
case DIR_DELETED:
return QObject::tr("Deleted");
};
return QString();
}

QIcon EventDetailsFileItem::etype_icon() const
Expand All @@ -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
Expand All @@ -171,6 +173,7 @@ const char* EventDetailsFileItem::etype_color() const
case DIR_DELETED:
return "#BD2C00";
};
return "";
}

bool EventDetailsFileItem::isFileOpenable() const
Expand Down