summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@gmail.com>2011-08-23 10:20:31 +0200
committerPierre Rossi <pierre.rossi@gmail.com>2011-08-23 10:24:39 +0200
commit816b94ece2eb5182d95147d81927914cedcb4422 (patch)
treea9052856ddb04b6ca1c9c4eb332bb51ab4921c5e /src/webpage.cpp
parentcustom contextMenu for urlBar (diff)
downloadrekonq-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
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp3
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;
}
}