diff options
author | Rohan Garg <rohangarg@kubuntu.org> | 2011-03-09 10:16:49 +0530 |
---|---|---|
committer | Rohan Garg <rohangarg@kubuntu.org> | 2011-03-09 10:16:49 +0530 |
commit | 09bf176c22a25cee65b20b7aee9fdf9e541798af (patch) | |
tree | 03dd78e6663a84a1a3e9fd79bb81a01add3dcd0e | |
parent | This commit fix bug 266837 about the (in)ability to close rekonq, (diff) | |
download | rekonq-09bf176c22a25cee65b20b7aee9fdf9e541798af.tar.xz |
Return false for null mimetypes
BUG:267706
-rw-r--r-- | src/adblock/adblockrulenullimpl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/adblock/adblockrulenullimpl.cpp b/src/adblock/adblockrulenullimpl.cpp index 7f6ab765..7c6cf802 100644 --- a/src/adblock/adblockrulenullimpl.cpp +++ b/src/adblock/adblockrulenullimpl.cpp @@ -117,6 +117,10 @@ bool AdBlockRuleNullImpl::isNullFilter(const QString &filter) // collapse if (option == QL1S("collapse")) return true; + + // Ignore null mimetypes + if (option == QL1S("")) + return false; } return false; |