From 8efb66c23eedd839e3e5ebe8a19668198574e686 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Sun, 21 Jun 2020 22:42:48 +0200 Subject: Fixes some minor bugs, uses MimeType more, updates help.gemini and updates.gemini. --- src/mimeparser.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mimeparser.cpp') diff --git a/src/mimeparser.cpp b/src/mimeparser.cpp index b5f5fc3..e76f372 100644 --- a/src/mimeparser.cpp +++ b/src/mimeparser.cpp @@ -2,6 +2,11 @@ +bool MimeType::is(const QString &type) const +{ + return (this->type == type); +} + bool MimeType::is(const QString &type, const QString &sub_type) const { return (this->type == type) and (this->subtype == sub_type); -- cgit v1.2.3