From 816b94ece2eb5182d95147d81927914cedcb4422 Mon Sep 17 00:00:00 2001 From: Pierre Rossi Date: Tue, 23 Aug 2011 10:20:31 +0200 Subject: 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 --- src/webpage.cpp | 3 +-- 1 file changed, 1 insertion(+), 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; } } -- cgit v1.2.1