diff options
author | Pierre Rossi <pierre.rossi@gmail.com> | 2011-08-23 10:20:31 +0200 |
---|---|---|
committer | Pierre Rossi <pierre.rossi@gmail.com> | 2011-08-23 10:24:39 +0200 |
commit | 816b94ece2eb5182d95147d81927914cedcb4422 (patch) | |
tree | a9052856ddb04b6ca1c9c4eb332bb51ab4921c5e | |
parent | custom contextMenu for urlBar (diff) | |
download | rekonq-816b94ece2eb5182d95147d81927914cedcb4422.tar.xz |
Remove a misplaced assertion
If the user downloads a file for which mimetype he already selected
"Open with.." and checked "don't ask again", this is the case we end
up in.
Thanks Aaron for the report :)
REVIEWED-BY: TrustMe
-rw-r--r-- | src/webpage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index e9f71232..1119d4b6 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -452,8 +452,7 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply) case KParts::BrowserOpenOrSaveQuestion::Cancel: return; - default: // non extant case - ASSERT_NOT_REACHED(); + default: // Can happen when "Open with.." is set and "don't ask again" is checked break; } } |