diff --git a/swisssurfer/src/browser.hxx b/swisssurfer/src/browser.hxx index d7f7c9d..1003ada 100644 --- a/swisssurfer/src/browser.hxx +++ b/swisssurfer/src/browser.hxx @@ -1029,6 +1029,10 @@ class Browser: public QMainWindow, protected Ui::Browser { LOG<<"URL:"<url().toString(); LOG<<"File:"<url().toLocalFile(); LOG<<"Path:"<url().path(); + if (reply->error()!=QNetworkReply::NoError) { + LOG<<"Error:"<<_downloadManager.networkError(reply->error()); + return; + } QString filename (QString::fromUtf8(reply->rawHeader("Content-Disposition"))); if (filename.contains diff --git a/swisssurfer/src/swisssurfer_de.ts b/swisssurfer/src/swisssurfer_de.ts index fef278a..05e1225 100644 --- a/swisssurfer/src/swisssurfer_de.ts +++ b/swisssurfer/src/swisssurfer_de.ts @@ -346,17 +346,17 @@ Compiled: qt-%5 - + Save File As ... - + authentication required - + ssl error @@ -582,12 +582,12 @@ p, li { white-space: pre-wrap; } QMessageBox - + Wrong PIN - + Authentication failed, please try again. diff --git a/swisssurfer/src/swisssurfer_en.ts b/swisssurfer/src/swisssurfer_en.ts index fef278a..05e1225 100644 --- a/swisssurfer/src/swisssurfer_en.ts +++ b/swisssurfer/src/swisssurfer_en.ts @@ -346,17 +346,17 @@ Compiled: qt-%5 - + Save File As ... - + authentication required - + ssl error @@ -582,12 +582,12 @@ p, li { white-space: pre-wrap; } QMessageBox - + Wrong PIN - + Authentication failed, please try again. diff --git a/swisssurfer/src/swisssurfer_fr.ts b/swisssurfer/src/swisssurfer_fr.ts index fef278a..05e1225 100644 --- a/swisssurfer/src/swisssurfer_fr.ts +++ b/swisssurfer/src/swisssurfer_fr.ts @@ -346,17 +346,17 @@ Compiled: qt-%5 - + Save File As ... - + authentication required - + ssl error @@ -582,12 +582,12 @@ p, li { white-space: pre-wrap; } QMessageBox - + Wrong PIN - + Authentication failed, please try again. diff --git a/swisssurfer/src/swisssurfer_it.ts b/swisssurfer/src/swisssurfer_it.ts index fef278a..05e1225 100644 --- a/swisssurfer/src/swisssurfer_it.ts +++ b/swisssurfer/src/swisssurfer_it.ts @@ -346,17 +346,17 @@ Compiled: qt-%5 - + Save File As ... - + authentication required - + ssl error @@ -582,12 +582,12 @@ p, li { white-space: pre-wrap; } QMessageBox - + Wrong PIN - + Authentication failed, please try again.